in reply to Re: regex negation without !~
in thread regex negation without !~

Just to be clear, that doesn't work if the original expression doesn't start with ^.

>perl -le"print 'abc' !~ /b/ ?1:0" 0 >perl -le"print 'abc' =~ /^(?!b)/ ?1:0" 1 >perl -le"print 'abc' =~ /(?!b)/ ?1:0" 1

That may not be an issue in this case.