CodeIgniter Forums
preg_match error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: preg_match error (/thread-44066.html)



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!