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} matches? no
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? yes
$ g++ regex.cc -lpcre -lPocoFoundation
$ ./a.out
Poco 0x01030600 on Linux 4.2.0-35-generic @ x86_64
Poco match 1234567890 to pattern ^[0-9]{10} matches? yes
Poco match 123456789 to pattern ^[0-9]{10} matches? no
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
Our system uses heavily Poco's StringTokenizer and Regex classes which
are not working correctly on 14.04 and I'm most interested in a solution
to get it back working on 14.04 :)
I'm not familiar with LD_PRELOAD and the also do not fully understand
replies like 'Yoshiki Kanemoto (yocchiman) wrote on 2015-05-01' so if
anyone could tell we what the best approach here would be I would very
greatfull
--
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1361610/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs