On 10/12/11 9:50 PM, Jesse Phillips wrote:
On Wed, 12 Oct 2011 23:35:49 +0000, kennytm wrote:

Most regex flavors don't match '\n' by default unless you supply the "s"
flag -- including ECMAScript (well it doesn't even provide the "s" flag
to allow '.' to match all characters).

Really? Sense when? I didn't know there was any that didn't match \n. If
you want to match everything not a new line [^\n].

Kenny's right.

http://www.regular-expressions.info/dot.html

Engines have special options for multiline.


Andrei

Reply via email to