In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Programmer) wrote:

> Can anybody help me convert this perl code to PHP
> 
> This line in particular
> while( /hidden name=(.*?)>/gs )

while(preg_match_all("/hidden name=(.*?)>/s",$teststring,$matches)

Note that /g is covered by the function itself (*_all), and that there's no 
default variable to match against.

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to