In a regex conditional expression (?(condition)yes-pattern|no-pattern), if the
condition is (?!), it fails the match outright instead of matching no-pattern.
This may be linked to the optimization documented later in perlre: “(?!) gets
optimised into (*FAIL) internally”. Doing this replacement when (?!) is the
condition of a conditional expression is invalid.
Migrated from rt.perl.org#126222 (status was 'resolved')
Searchable as RT126222$
The text was updated successfully, but these errors were encountered: