RE: FN-FORUM: Reg Expr: any character conundrum!
date posted 20th June 2007 17:36
> Is it a DOS-style (and HTTP header-style) \r\n newline?
Nope - in JavaScript, newlines normalised to just "\n". This is =
confirmed by
the fact that the following DOES work (i.e., matches all chars across
lines):
/(.|\n)+/
Ben