> 
> You need to anchor your regex.  Your regex is matching '!!' because it
> is matching an exclamation point followed by zero or more non
> exclamation-point characters anywhere in the string.
> 
> Thus the first '!' is matching the regex, and the second '!' is outside
> of your match.


yep, forgot to anchor the string. Thanks for your help!!

 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to