On Mon, Jul 16, 2012 at 11:06:05PM -0700, Andy Isaacson wrote:
> The negative look-behind assertion does not work correctly before $ (the
> end-of-line assertion).
>
> I expect to be able to say "match lines that do not end in bar"
> using the regex /(?
> % (echo foo; echo bar; echo foobaz) | per
I can confirm that the behaviour is the same on current blead, so
forwarding here initially.
Thanks,
Dominic.
- Forwarded message from Andy Isaacson -
Date: Mon, 16 Jul 2012 23:06:05 -0700
From: Andy Isaacson
To: Debian Bug Tracking System
Subject: Bug#681849: perl: regex negative
Package: perl
Version: 5.14.2-6
Severity: normal
Dear Maintainer,
The negative look-behind assertion does not work correctly before $ (the
end-of-line assertion).
I expect to be able to say "match lines that do not end in bar"
using the regex /(? string, and regex behavior with $ is not
changed
3 matches
Mail list logo