in reply to Re: negative regex without !~in thread negative regex without !~
The alternate way (much worse than hv's IMO) that you sometimes see is (IIRC) /^(.(?!$regex))*\z/s