cvs: phpdoc /fr/functions pcre.xml

From: Date: Mon, 13 Nov 2000 11:59:11 +0000
Subject: cvs: phpdoc /fr/functions pcre.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332900@lists.php.net to get a copy of this message
eschmid Mon Nov 13 03:59:11 2000 EDT Modified files: /phpdoc/fr/functions pcre.xml Log: Some errors corrected. Index: phpdoc/fr/functions/pcre.xml diff -u phpdoc/fr/functions/pcre.xml:1.5 phpdoc/fr/functions/pcre.xml:1.6 --- phpdoc/fr/functions/pcre.xml:1.5 Mon Nov 13 03:41:07 2000 +++ phpdoc/fr/functions/pcre.xml Mon Nov 13 03:59:11 2000 @@ -493,18 +493,18 @@ $keywords = preg_split ("/[\s,]+/", "langage hypertexte, programmation"); </programlisting> </example> + </para> - <para> - Scinder une cha&icirc;ne en caract&egrave;res - </para> - <example> - <programlisting role="php"> + <para> + Scinder une cha&icirc;ne en caract&egrave;res + </para> + <programlisting role="php"> $str = 'string'; $chars = preg_split('//', $str, 0, PREG_SPLIT_NO_EMPTY); print_r($chars); - </programlisting> - </example> + </programlisting> + <para> Voir aussi <function>preg_match</function>, <function>preg_match_all</function> et <function>preg_replace</function>. @@ -600,7 +600,7 @@ <para> <example> <title>Exemple avec <function>preg_grep</function></title> - <programlisting> + <programlisting role="php"> // recherche les nombres &agrave; virgule flottante preg_grep("/^(\d+)?\.\d+$/", $array); </programlisting>

« previous php.doc (#969332900) next »