in reply to Re: Regular expression question strikes again
in thread Regular expression question strikes again

there is also the !~ no-match binding operator.

As a side note there's been a very interesting discussion about negating regexen.

Replies are listed 'Best First'.
Re^3: Regular expression question strikes again
by sgt (Deacon) on Sep 06, 2007 at 10:42 UTC

    nice discussion. I missed it somehow.

    I wonder if the regex engine could give it. A negated compiled form seems possible. Then there would be the problem of giving a regex that corresponds to a given compiled form. Still a special flag could be used to say "already compiled" and somehow could make it useful as part of a bigger regex (not fully compiled).

    This seems to ring some bells of a discussion on p5p about the actual scheme of adding qr// parts.

    cheers --stephan the rewrite feeling is strong today;)