I recently upgraded my PHP to version 5.4.1 on my Lion OS X 64bit, I\'m getting an error thrown in Codeigniter:
Severity: Warning Message: preg_match(): Com
I resolved this issue by updating PHP and PCRE on my Linux machine using yum update.
yum update
PHP was updated to version 5.3.17 and PCRE was updated to version 8.21-5.3amzn1 ( I'm running on an Amazon EC2 instance ).