I was afraid so.
You could try using the pcre.h header from the embedded pcre in Poco
(apt-get source libPoco-dev, poco-1.3.6p1/Foundation/src/pcre.h), that
I've attached as pocopcre.h and not linking to the system pcre (just g++
regex.cc -lPocoFoundation).
That seems to work for me:
Poco
When I compiled your program I got errors about duplicate pcre types.
I've resolved the errors by adding a pcrepcre namespace around the pcre
include/function. It gives me the correct output:
Poco POCO_VERSION on Linux 3.13.0-24-generic @ x86_64
Poco match 1234567890 to pattern ^[0-9]{10}
Thank you Michael for uploading the patched version. I've tested the
package in trusty and wily and the bug is fixed in both.
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages,
Note for wily the testcase needs to be slightly changed:
echo '"a"'|pcregrep --no-jit '("([^b"]*+(b.)?)*+")++'
(expected output is unchanged: "a")
** Patch added: "pcre_1456195_wily.debdiff"
Like this?
** Patch added: "debdiff for trusty"
https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1456195/+attachment/4635297/+files/pcre_1456195_trusty.debdiff
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in
Upstream patch ported to pcre 8.31 for 14.04
** Patch added: "pcre-8.31-zero-repeat-bug.patch"
https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1456195/+attachment/4595890/+files/pcre-8.31-zero-repeat-bug.patch
--
You received this bug notification because you are a member of Ubuntu
Public bug reported:
The 14.04/15.04 pcre version doesn't match some inputs with possessive
qualfiers:
$ echo 'a'|pcregrep '(([^b]*+(b.)?)*+)*+'
$
Earlier versions (10.04, 12.04):
$ echo 'a'|pcregrep '(([^b]*+(b.)?)*+)*+'
a
$
this is fixed with the following upstream commit (that applies
7 matches
Mail list logo