----- Original Message -----
From: "Rob Dixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 25, 2004 1:20 PM
Subject: Re: regular expression that doesn't match any string


> Ö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.
:))
One taht I thought was similiar yours
/$string./  never matches $string
oznur
>
>
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>


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