[exim-dev] [Bug 432] Serious REGEX bug

Top Page
Delete this message
Reply to this message
Author: bug432
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 432] Serious REGEX bug
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=432


tom@??? changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





------- Comment #2 from tom@??? 2006-12-12 19:50 -------
This is a misunderstanding. For 'regex' and 'mime_regex', Exim expands the
whole item once and treats the result as a colon-separated list of regular
expressions. This is also mentioned in the manual (Section 40.5).

In your example, you specify colons as \x3A, which both Exim's expansion
function AND the PCRE lib use to specify arbitrary byte values. After the
initial expansion of the whole value, these characters thus appear as regular
colons, and they are then used as delimiters.

Write the colons as \\x3A instead.

--
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email