in reply to
End of String in qr// expression
To match "no more", you have to add the beginning anchor as well:
my $re = qr/^\S{8}$/;
[download]
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on
Re: End of String in qr// expression
Download
Code
Replies are listed 'Best First'.
Re^2: End of String in qr// expression
by
gg48gg
(Sexton)
on Sep 05, 2013 at 23:09 UTC
Thanks. Now I'm embarrassed I didn't see that. It was matching the end of string. Doh!
[reply]
In Section
Seekers of Perl Wisdom