Re: regexp (?:
| From: | CC Zona | Date: | Tue, 11 Sep 2001 11:42:02 +0000 |
| Subject: | Re: regexp (?: | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66909@lists.php.net to get a copy of this message | ||
In article <1223489399.20010911123204@naverex.kiev.ua>,
ok@naverex.kiev.ua (Andrew Perevodchik) wrote:
> ereg ("aaa(?:bbb|ccc)aaa", $string);
>
> It causes an error. However "?:" command is
> documented in a manual of my version of PHP4.
AFAIK, that is only documented in the preg_* chapter, and only applies to
the preg_* functions. (The ereg_* functions use POSIX syntax, not PCRE).
--
CC