[PHP-DOC] cvs: phpdoc /fr/functions pcre.xml From: Egon Schmid (eschmid <email protected>)
Date: 11/13/00

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>