Page 1 of 1

Multi-line Regex

Posted: Wed Nov 04, 2009 11:25 pm
by aka_bigred
I really, REALLY wish textpad had an option to enable multi-line regex's or at least allow the . to match linebreaks.

I know in coldfusion there's a modifier you put in the regex to enable multi-line support - /(?m)some.*regex/ - where (?m) enables the multiline for that regex.

I don't know if that's some sort of standard, or just how Adobe (actually Allaire back in the day) decided to implement, but no multiline is a SERIOUS shortcoming.

Posted: Wed Dec 02, 2009 9:49 am
by Mr. Code Monkey
I agree. I'd kill to be able to use [\n], or \n+, in a regular expression.