RE: [PHP] perl regex help

2003-02-02 Thread John W. Holmes
> if > . matches any character except newline (by default) > then > what can i use to match any character INCLUDING newline? Use an 's' modifier. Quote: If this modifier is set, a dot metacharacter in the pattern matches all characters, including newlines. Without it, newlines are excluded. This

[PHP] perl regex help

2003-02-01 Thread Alex
I will be quick. if . matches any character except newline (by default) then what can i use to match any character INCLUDING newline? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php