in reply to Can't figure out how to invert this regex
You are using variable length in negative look behind, as per the perl regex tutorial perlre, we cannot use variable length in negative look behind condition. Rather we can use variable length in positive and negative look ahead.
updated:Thanks sauoq and apologises for the mistake.
Regards,
Anniyan
(CREATED in HELL by DEVIL to s|EVILS|GOODS|g in WORLD)
In Section
Seekers of Perl Wisdom