Skip to main content

All Questions

Tagged with
37 votes
0 answers
415 views

Bug which mistakenly accuses the writer for shouting and issues a warning

Today, while typing an answer on Math.SE, I needed to use the factorial expression. While typing in my answer, I received the following warning: DON'T SHOUT! All-caps posts are considered rude and ...
Fourier Pikachu's user avatar
10 votes
1 answer
497 views

How to ask a good regex question? [closed]

What are the qualities of a good, answerable question that involves regular expressions? What information does an asker need to include to be able to receive good answers to regex questions? I often ...
zzzzBov's user avatar
  • 1,944
14 votes
2 answers
485 views

Regex - don't feed them - teach them how to fish

Currently most* of the questions in the regex have the following form: I want to match 3 numbers, followed by foo and 2 letters. How can I get the number? Such questions can be easily translated ...
Johannes Kuhn's user avatar
3 votes
2 answers
185 views

What more can we do for string-manipulation questions that ask for a regex solution when non-regex solutions would be OK too?

I find we have a very common class of problem here: Someone needs to do some string manipulation They recognise that a regex is one of the possible solutions, even if there are valid solutions which ...
doppelgreener's user avatar
21 votes
1 answer
440 views

Automatically recognize and remove "thanks"

There is a regex that should automatically remove all greetings from the top of posts. It does its job very well: ^ # begins at start of body \s* # possible spaces ( hii?...
Doorknob's user avatar
  • 45.5k
13 votes
2 answers
282 views

Why are poor quality Regex questions so quickly answered?

I've noticed that most low effort, low quality, fish begging answers are met with a deserving "what have you tried?", while low effort, low quality regex questions are rarely met with the same ...
Alastair McCormack's user avatar
16 votes
1 answer
3k views

How to handle regex syntax highlighting [duplicate]

Many questions about regex include code blocks with language agnostic, POSIX compatible patterns, using default prettifying. (Example) This looks kind of ugly and is confusing, since some parts are ...
kapex's user avatar
  • 1,951
3 votes
0 answers
118 views

How does Stack Exchange parse out URLs so well from answers and comments?

There are a number of questions already on SO about parsing out a URL from text (here and here are 2 OK examples I've found). Even Jeff Atwood posted a blog entry about this. These are a bit ...
Scott's user avatar
  • 239