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} matches? yes
Poco  match 123456789 to pattern ^[0-9]{10} matches? no
Boost match 1234567890 to pattern ^[0-9]{10} matches? yes
Boost 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

Maybe that helps?

Otherwise it seems Poco is simply not designed to be combined with a
different (system) pcre, and you where just lucky it worked on Ubuntu
12.04.


** Attachment added: "regex.cc"
   
https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1361610/+attachment/4668890/+files/regex.cc

-- 
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

Reply via email to