[Php-it] problemi con preg_match

Luca Falvo lfalvo at logos.net
Wed Aug 23 10:59:11 CEST 2006


Ciao a tutti.

utilizzo preg_match per estrapolare immagini da un testo html.
non so perché ma invocando la funzione come di seguito:

preg_match("<img([^>]+)>", $txt, $arrMatches);

mi viene visualizzato il seguente warning:
Warning: Unknown modifier ']' in d:\web\siti\arcoiris\prova_ereg.php on 
line 16

qualcuno sa come aiutarmi?

grazie mille.

Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ziobudda.net/pipermail/php-it/attachments/20060823/5267e9c8/attachment.html


More information about the Php-it mailing list