Displaying page
of
pages;
Items to
Title |
Test
Details
Non-blank contiguous lines
|
Expression |
(^(?=.*\S).*\n)*
|
Description |
This expression bypasses an infinite-backtracking bug by looking ahead in the current line for any non-whitespace, then matching to the end of the line if the lookahead was positive. Without the lookahead, you'll end up with an infinine backtracking expression and a bad day.
|
Matches |
\tabc\n xyz
|
Non-Matches |
\ \t\n\ \n\n
|
Author |
Rating:
Not yet rated.
Eric Falsken
|
Displaying page
of
pages;
Items to