If you're using Perl then you have the option to break up regexps over multiple lines, insert non-semantic whitespace, comments, etc. See “/x modifier” in man/perldoc perlre. That said I don't use this myself (not that I write all that many monster regexps).
no subject