8

The inclusion of extraneous whitespace is not a likely indicator of a good question. This is evidenced by the remarks of one or more users that "I added a few carriage returns and it let me post the question".

Either a question appears to be sufficient or it does not.

2
  • 1
    I feel a sense of deja vu. Has this been asked or discussed here before, in a different way? If it has, could you please link it? Thanks.
    – user102937
    Jun 27, 2011 at 22:10
  • Same same, but different meta.stackexchange.com/questions/96588/… @rob
    – random
    Jun 28, 2011 at 4:24

1 Answer 1

8

Good idea!

I'll strip excess lines (including lines of all whitespace) before running this check.

(?:^\s*\r?\n$){2,}

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .