CodeIgniter Forums
preg_match error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: preg_match error (/showthread.php?tid=44066)



preg_match error - El Forum - 08-01-2011

[eluser]caen[/eluser]
I have just installed CodeIgniter 2.0.2 on PHP 5.4 alpha 2, and I get the following
Code:
Severity: Warning
Message: preg_match() [function.preg-match]: Compilation failed: unknown option bit(s) set at offset 0
Filename: core/Utf8.php
Line Number: 44

Is it related to how I have compiled PHP, or is it related to CodeIgniter? Thanks!


preg_match error - El Forum - 08-02-2011

[eluser]Aken[/eluser]
It appears that you have an unsupported version of PCRE built into your PHP. Most things I've read while doing a quick search says the best solution is to recompile PHP with the appropriate PCRE.

http://stackoverflow.com/questions/2106889/php-pcre-regex-doesnt-support-utf-8


preg_match error - El Forum - 08-02-2011

[eluser]caen[/eluser]
Thank you for your reply!