And because of this I'd rather stick with separated, simple rules which can be easily maintained.
Better expect more trouble to come.
> with the single word "Perfect"
Your logic is flawed though, this
$reply !~ /^perfect/i
will not only match (well reject) "single words" at the beginning.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re: Regexp match start or end
by LanX
in thread Regexp match start or end
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |