This site will look much better in a browser that supports web standards, but is accessible to any browser or Internet device.
perl.com: Maintaining Regular Expressions [Jan. 16, 2004]
Aaron Mackey does a wonderful job of suggesting more maintainable regular expression idioms. His use of (?{})
to assign the results of capturing parenthesis inline was particularly interesting to me. I may have seen it before, but this is the first time it made sense.
The article goes into some serious magic later including deferred execution of the (?{})
blocks and Regexp::Fields
.