Fixed a segfault related to old versions of PCRE
Synced from master
Synced from master