in reply to
Another First Pattern Matching
The regex alternatives are processed from left to right. Since the
\s
matches before the quoted one, you get that first. If you don't want that, reshuffle the alternatives.
--
Randal L. Schwartz, Perl hacker
Comment on
•Re: Another First Pattern Matching
Download
Code
In Section
Seekers of Perl Wisdom