in reply to Re^7: Help with RegEx
in thread Help with RegEx

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^9: Help with RegEx
by ssandv (Hermit) on Jul 01, 2010 at 19:36 UTC

    Regular expressions with potentially zero-width wildcards (especially .*) can be exceedingly slow. If someone claims Perl is slow because it handles a difficult regular expression with due care, then that simply shows a lack of understanding on their part. Perl contains a regular expression engine, as do many other languages--but regular expression syntax is a language unto itself.

    Part of the advantage of using a module is that you get to take advantage of the effort someone else has gone to to get the regular expression right and (hopefully) efficient.