[PHP-DOC] cvs: phpdoc /en/functions pcre.xml From: Monte Ohrt (monte <email protected>)
Date: 07/20/00

mohrt Thu Jul 20 12:11:34 2000 EDT

  Modified files:
    /phpdoc/en/functions pcre.xml
  Log:
  fixed syntax error in preg_match_all() description examples
  
  
Index: phpdoc/en/functions/pcre.xml
diff -u phpdoc/en/functions/pcre.xml:1.12 phpdoc/en/functions/pcre.xml:1.13
--- phpdoc/en/functions/pcre.xml:1.12 Thu Jul 20 12:09:09 2000
+++ phpdoc/en/functions/pcre.xml Thu Jul 20 12:11:33 2000
@@ -159,7 +159,7 @@
          <informalexample>
           <programlisting role="php">
 preg_match_all ("|&lt;[^>]+>(.*)&lt;/[^>]+>|U",
- "&lt;b>example: &lt;/b>&lt;div align=left>a test&lt;/div>",
+ "&lt;b>example: &lt;/b>&lt;div align=left>this is a test&lt;/div>",
     $out, PREG_PATTERN_ORDER);
 print $out[0][0].", ".$out[0][1]."\n";
 print $out[1][0].", ".$out[1][1]."\n"
@@ -187,7 +187,7 @@
          <informalexample>
           <programlisting role="php">
 preg_match_all ("|&lt;[^>]+>(.*)&lt;/[^>]+>|U",
- "&lt;b>example: &lt;/b>&lt;div align=left>a test&lt;/div>",
+ "&lt;b>example: &lt;/b>&lt;div align=left>this is a test&lt;/div>",
     $out, PREG_SET_ORDER);
 print $out[0][0].", ".$out[0][1]."\n";
 print $out[1][0].", ".$out[1][1]."\n"