filburt1 |
05-24-2003 09:00 PM |
The stuff after trailing slashes in regexps
It took quite a bit of research, but here's what those characters after regular expressions mean: - i: case-insensitive
- c: effectively means return what doesn't match the expression
- m: don't ignore whitespace differences
- s: ignore multiple lines when using the match chars (*, ?, +, etc.)
- x: allow whitespace and comments (for readability)
- U: don't be greedy
I still can't figure out what U does (vB uses //siU everywhere), but those five are the common ones.
|