in reply to
regex to deny characters?
I've been trying for a while now to simply (or not so simply) construct a regex to deny any characters others than lowercase letters, hyphens, and spaces.
if ( $string =~ /[^a-z- ]/ ) { ... }
will tell you if there are errant characters in $string.
Comment on
Re: so close, yet so far away...
Download
Code
In Section
Seekers of Perl Wisdom