Re: Regular Expression Problem continues
| From: | Rasmus Lerdorf | Date: | Thu, 28 Mar 2002 19:53:44 +0000 |
| Subject: | Re: Regular Expression Problem continues | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90587@lists.php.net to get a copy of this message | ||
> While I try and request for a recompile of the system, is there an
> alternate way out?
Why don't you use the PCRE functions instead.
The equivalent preg would be:
preg_match("/__([a-z0-9_]+)__/i", "Hello __WO_RD__ Test", $Matches)
> By the way, what is the significance of the switch --with-regex=system
It means that it was compiled against the system regex library as opposed
to the one shipped with PHP.
-Rasmus