Dmitry Olshansky <dmitry.o...@gmail.com> wrote: > On 12.10.2011 23:32, kennytm wrote: >> Dmitry Olshansky<dmitry.o...@gmail.com> wrote: >>> Fresh version of documentation is here: >>> http://blackwhale.github.com/ >>> >>> This fixes all typos reported so far, adds missing overload of replace >>> (ouch!) and introduces a brand new syntax table. >> >> The '.' really matches any character, including the new line '\n'? > > Hm, yes. Is that a problem?
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). While I am OK with having "s" turned on by default, this should at least be documented explicitly.