Hi all,
We use PCRE v6.6 for an XML parser. It does not work when trying to match on a CDATA section containing '[ ]'
RegularExpr re("\\A[ \n\r\t]*<!\\[CDATA\\[([^\\]]+)\\]\\]>", RE_MULTILINES);
this regex fails to match on the string:
<![CDATA[test 0 test1 \ntest2 [runPackage]:0]]></log>\n</xmlreport>
but it matches on:
<![CDATA[test 0 test1 test2 [runPackage]:0]]></log></xmlreport> ###(no newlines)
or
<![CDATA[test 0 test1 \ntest2 runPackage:0]]></log>\n</xmlreport> ###(no square brackets inside CDATA)
Can you help?
Thanks & Regards
Mihai Matei
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs From admin@??? Thu Nov 15 15:36:40 2007
Envelope-to: pcre-dev@???
Received: from wwwrun by tahini.csx.cam.ac.uk with local (Exim 4.67)
(envelope-from <admin@???>) id 1Isglj-00010d-U5
for pcre-dev@???; Thu, 15 Nov 2007 15:36:40 +0000
From: J P Skudlarek <JskudExim@???>
Sender: admin@???
To: pcre-dev@???
X-Bugzilla-Reason: CC
X-Bugzilla-Type: newchanged
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: PCRE
X-Bugzilla-Component: Code
X-Bugzilla-Keywords: work:small
X-Bugzilla-Severity: bug
X-Bugzilla-Who: JskudExim@???
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: medium
X-Bugzilla-Assigned-To: ph10@???
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: CC
In-Reply-To: <bug-630-288@???/>
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Message-Id: <E1Isglj-00010d-U5@???>
Date: Thu, 15 Nov 2007 15:36:39 +0000
X-Mailman-Approved-At: Thu, 15 Nov 2007 15:46:47 +0000
Subject: [pcre-dev] [Bug 630] pcre-config adds superfluous -L/usr/ lib to
pcre-config --libs result
X-BeenThere: pcre-dev@???
X-Mailman-Version: 2.1.7
Precedence: list
Reply-To: 630@???
List-Id: PCRE Development <pcre-dev.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/pcre-dev>,
<mailto:pcre-dev-request@exim.org?subject=unsubscribe>
List-Archive: <http://lists.exim.org/lurker/list/pcre-dev.html>
List-Post: <mailto:pcre-dev@exim.org>
List-Help: <mailto:pcre-dev-request@exim.org?subject=help>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/pcre-dev>,
<mailto:pcre-dev-request@exim.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Nov 2007 15:36:40 -0000
------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=630
J P Skudlarek <JskudExim@???> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |JskudExim@???
--- Comment #2 from J P Skudlarek <JskudExim@???> 2007-11-15 15:36:39 ---
Thanks for the timely reply. Then when I can, I will check to see if a similar
issue exists in the most recent version.
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email