|
|
 |
Re: FN-FORUM: Reg Expr: any character conundrum!
date posted 20th June 2007 08:38
----- Original Message -----
From: "Ben Johnson (Neogic) F" [EMAIL REMOVED]
DOES match anything across multiple lines. Both that and /[\s\S]+/ achieve
this (so I'm not stuck on a particular problem), but I'm just bemused by the
inconsistency that /[xy]+/ will match any mix of "x" and "y", but /[.\n]+/
doesn't match any mix of all characters and newlines (i.e., 'everything'
across lines) as one would expect.
Is it a DOS-style (and HTTP header-style) \r\n newline?
Matt
|
 |
|