Please, tell us the next info about pcre on your servers:
$ pcretest -C
For example:
$ pcretest -C
PCRE version 7.8 2008-09-05
Compiled with
UTF-8 support
Unicode properties support
Newline sequence is LF
\R matches all Unicode newlines
Internal link size = 2
POSIX malloc threshold = 10
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack
Most of all we need information about Default match limit and Default recursion depth limit