Back to vBulletin 3 Articles

The stuff after trailing slashes in regexps
by filburt1 25 May 2003

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.

Similar Mods

PHP Tag Slashes String Parsing Fix vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024