[Php-it] Comportamento Regex

Matteo Beccati php at beccati.com
Mon Oct 23 15:14:10 CEST 2006


Ciao,

> Effettivamente è ciò che voglio, ma non mi riesco a spiegare perché spunti 
> l'indice 5, quando il 4 dovrebbe tranquillamente aver racchiuso già tutto ciò 
> che serve...

Potresti anche iniziare ad usare parentesi che non catturano (?:xxx) -- 
non ricordo come si chiamino esattamente -- e porti meno domande ;)


Ciao ciao
--
Matteo Beccati
http://phpadsnew.com
http://phppgads.com


More information about the Php-it mailing list