Öznur tastan wrote:
>
> Just for fun (really no context) i was wondering how to create regular
> expressions that will never match any string.

It's a strange leisure activity, but how about

  /[^\Q$string\E]/

which will never match $string.

/R





-- 
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