Tip for those posting (or even just creating)
long regexes:

If you stick a /x on the end of a regex,
whitespace in the regex is ignored, so
you can break it up into multiple lines,
indent lines as appropriate, add spaces
where nice, and comments, etc. One
thing to remember if you do this: white
space is ignored! so you have to use
\S and its cousins to actually specify
a space.

Reply via email to