Date: 11/13/00
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /de/functions xslt.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions pcre.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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îne en caractères
- </para>
- <example>
- <programlisting role="php">
+ <para>
+ Scinder une chaîne en caractè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 à virgule flottante
preg_grep("/^(\d+)?\.\d+$/", $array);
</programlisting>
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /de/functions xslt.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions pcre.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

