[Touch-packages] [Bug 1361610] Re: libPCRE3 8.31 regex matching is not working

2016-05-24 Thread Arne de Bruijn
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

[Touch-packages] [Bug 1361610] Re: libPCRE3 8.31 regex matching is not working

2016-05-23 Thread Arne de Bruijn
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}

[Touch-packages] [Bug 1456195] Re: Zero-minimum possessive groups does not match empty string

2016-04-15 Thread Arne de Bruijn
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,

[Touch-packages] [Bug 1456195] Re: Zero-minimum possessive groups does not match empty string

2016-04-13 Thread Arne de Bruijn
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"

[Touch-packages] [Bug 1456195] Re: Zero-minimum possessive groups does not match empty string

2016-04-13 Thread Arne de Bruijn
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

[Touch-packages] [Bug 1456195] Re: Zero-minimum possessive groups does not match empty string

2016-03-11 Thread Arne de Bruijn
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

[Touch-packages] [Bug 1456195] [NEW] Zero-minimum possessive groups does not match empty string

2015-05-18 Thread Arne de Bruijn
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