in reply to Re^2: Regex AND NOT with zero-width negative lookahead assertion
in thread Regex AND NOT with zero-width negative lookahead assertion
How odd. It works fine exactly as posted for me in Perl 5.20.3. Which Perl version are you using which requires the escape?
Update: also tested successfully on v5.10.1, v5.16.3, v5.26.1 and v5.30.0.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Regex AND NOT with zero-width negative lookahead assertion
by Your Mother (Archbishop) on Mar 25, 2020 at 14:04 UTC | |
|
Re^4: Regex AND NOT with zero-width negative lookahead assertion
by AnomalousMonk (Archbishop) on Mar 26, 2020 at 03:41 UTC |