PHP regex problem

POSTED BY niklas on Sep 7 under Work

PHP allows the use of the PCRE library, but PHP5 comes with an interesting, undocumented twitch: You have to add –with-pcre-regex if you want to use preg_match(), a quite commonly used function. With PHP4, all you did was –with-pcre and you got the whole package, and the –with-pcre-regex is undocumented in the configure program of PHP5 which is where people look for this.

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

Copyright Niklas Saers, 2000-2008