regular expressions

From: Date: Fri, 19 May 2000 15:27:41 +0000
Subject: regular expressions
Groups: php.general 
Request: Send a blank email to php-general+get-201@lists.php.net to get a copy of this message
I need to grab a comment <!--CODE:0001--> How can I do non-greed char match .* ?? I did this eregi("<!--CODE\:(.+)-->",$text,$regs); How can I do .+? or something of that nature ??? P.S. Is there a help doc on PHP specific regexp. The O'Reilly book on regular expressions doesn't seem to apply!

« previous php.general (#201) next »