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

2016-05-24 Thread Mark Ebbers
Also opened an issue at the pocoproject. https://github.com/pocoproject/poco/issues/1284 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1361610 Title: libPCRE3 8.31 regex matching is not working To

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

2016-05-24 Thread Mark Ebbers
Arne, Thank you for your quick reply but I don't think this solves my problem. It only solves it for the proof-of-concept which I made to proof, the bug in Poco regex functionality. Our system does not even link against libPCRE but uses Poco. If I change the proof-of-concept to a Poco only

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

2016-05-24 Thread Mark Ebbers
Additional info; when I change the linking order of pcre and poco I got a different output: $ g++ regex.cc -lPocoFoundation -lpcre $ ./a.out Poco 0x01030600 on Linux 4.2.0-35-generic @ x86_64 Poco match 1234567890 to pattern ^[0-9]{10} matches? no Poco match 123456789 to pattern ^[0-9]{10}

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

2016-05-24 Thread Mark Ebbers
Arne, I compiled your code, got no warnings and got a different output! Poco 0x01030600 on Linux 4.2.0-35-generic @ x86_64 Poco match 1234567890 to pattern ^[0-9]{10} matches? no Poco match 123456789 to pattern ^[0-9]{10} matches? no Boost match 1234567890 to pattern ^[0-9]{10} matches? yes

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

2016-05-23 Thread Mark Ebbers
$ ./a.out PCRE 8.31 2012-07-06 PCRE match 1234567890 to pattern ^[0-9]{10} matches? yes PRCE match 123456789 to pattern ^[0-9]{10} matches? no $ LD_PRELOAD=/usr/lib/libPocoFoundation.so ./a.out PCRE 8.31 2012-07-06 PCRE match 1234567890 to pattern ^[0-9]{10} matches? yes PRCE match 123456789

[Bug 1361610] [NEW] libPCRE3 8.31 regex matching is not working

2014-08-26 Thread Mark Ebbers
Public bug reported: It looks like that libPCRE3 8.31 included in Ubuntu 13.10 does not handle regex matching alright. This also affects the libPocoFoundation RegularExpression classes. I attached a proof-of-concept which tests a good and bad heystack string to a regex pattern with Poco, Boost