in reply to
Incorrect Pattern Matching Behavior
Thanks to everyone. Both hv and jonadab pointed out the solution. It's working perfectly now.
Comment on
Re: Incorrect Pattern Matching Behavior
In Section
Seekers of Perl Wisdom