does

/(?!)/

work for you?

Regards,
Boris


On Tue, July 9, 2013 09:31, Paul Gilmartin wrote:
> Kind of a programming challenge, in view of all the PCRE
> chatter hereabouts lately:
>
> A vendor once supplied an interface where one of the required
> arguments was a regex to exclude from processing any matching
> line.  But I wanted every line in my data processed.  So, how?
> For my particular data, I could use:
>
>     /Pattern that I know does not occur in my data/
>
> or:
>
>     / \000 \012 /
>
> ... unlikely to occur in lines processed by sed or awk.  But is there
> a general case: a regex that will never match any string whatever?
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to