in reply to slow regular expressions
To get an idea of what and how much work is being done to evaluate the regular expression you can stick use re 'debug'; at the beginning of your code. See the re manpage for more information.
/J\
In Section
Seekers of Perl Wisdom