in reply to Re: regexp need a match characters and spaces
in thread regexp need a match characters and spaces
If you swap the regex for the following you'll remove that requirement. Note the I've had to swap out the \s+ as this was scooping up the newline character if there was no data on the line, resulting in the regex matching the whole of the following line.
/^b +([^\n]*)$/m;
|
|---|