in reply to Re: Re: Grabbing file prefixes with Reg Exp
in thread Grabbing file prefixes with Reg Exp
\z only matches at the end of the string, but $ can match before a newline at the end. Unless you're using multiline mode, \A and ^ are the same.
In Section
Seekers of Perl Wisdom