in reply to
One Liner Regex Question
m/._(FOO|BAR)$/ ? 'true' : 'false'
See
perlre
, this shouldn't be too hard
--
http://
fruiture
.de
Comment on
Re: One Liner Regex Question
Download
Code
Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.
In Section
Seekers of Perl Wisdom