Multi-line Regex

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
aka_bigred
Posts: 6
Joined: Wed Nov 04, 2009 3:37 pm

Multi-line Regex

Post 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.
User avatar
Mr. Code Monkey
Posts: 24
Joined: Thu Jul 30, 2009 4:59 am

Post by Mr. Code Monkey »

I agree. I'd kill to be able to use [\n], or \n+, in a regular expression.
Post Reply