------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=767
--- Comment #2 from Philip Hazel <ph10@???> 2008-10-06 17:29:02 ---
On Mon, 6 Oct 2008, Michael Graham wrote:
> I am trying to get the following regexp to work:
>
> (?(?=.*b)b|^)
Thank you for the report. I have ascertained that there is definitely a
bug in PCRE. It thinks (incorrectly) that the match must be at the start
or follow a newline. However, I am not working on PCRE just at the
moment (there was a new release recently) so it will be some time before
I have the time to investigate the actual code to see what is going
wrong. I suspect it is treating the condition as something that really
has to be matched, which of course it shouldn't. If you can rewrite the
regex so as not to use .* it would probably get round the issue.
Regards,
Philip
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email