[gull] expressions régulières sous php
patrick jayet
jayetp at student.ethz.ch
Wed Dec 8 11:28:01 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello!
En fait, l'option 's' que j'ai spécifié, permet à '.' de matcher
également '\n'. Donc sans l'option 's', effectivement le matching se
passe comme j'aimerais, mais uniquement car mes tags sont sur une ligne.
Si mon tag est
$str = "<foo>hello there\n</foo>\n<foo>go there\n</foo>\n";
Ca ne marche plus.
Il faudra que j'investigue tout ça. :)
A+
Pat
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBttbvDdcPKzlCXVMRAiSRAJ97ZibqxlItc7gfdBLMhbH7RB1rLgCcCqfW
nQrBOeCYt8cDvYU/Z/eQDTk=
=+RFk
-----END PGP SIGNATURE-----
More information about the gull
mailing list