Re: regexp (?:

From: Date: Tue, 11 Sep 2001 09:41:32 +0000
Subject: Re: regexp (?:
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66895@lists.php.net to get a copy of this message
"Andrew Perevodchik" <ok@naverex.kiev.ua> wrote in message news:1223489399.20010911123204@naverex.kiev.ua... > Why doesn't this simple example work? > > ereg ("aaa(?:bbb|ccc)aaa", $string); > > It causes an error. However "?:" command is > documented in a manual of my version of PHP4. It would probably be useful if you would also tell us WHAT you want to accomplish, so we won't have to guess about your intentions... / Franklin

« previous php.general (#66895) next »