in reply to One Liner Regex Question

m/._(FOO|BAR)$/ ? 'true' : 'false'

See perlre, this shouldn't be too hard

--
http://fruiture.de

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.