in reply to Re(2): Dot star okay, or not?
in thread Dot star okay, or not?

To answer you, no, Perl doesn't optimize your regex to look only at the beginning and end of the string. Sorry.

japhy -- Perl and Regex Hacker