vrana           Thu Feb 24 09:31:47 2005 EDT

  Modified files:              
    /phpdoc/en/reference/pcre/functions preg-quote.xml 
  Log:
  Single backslash, single quotes
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pcre/functions/preg-quote.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/pcre/functions/preg-quote.xml
diff -u phpdoc/en/reference/pcre/functions/preg-quote.xml:1.7 
phpdoc/en/reference/pcre/functions/preg-quote.xml:1.8
--- phpdoc/en/reference/pcre/functions/preg-quote.xml:1.7       Thu Jul 22 
18:51:12 2004
+++ phpdoc/en/reference/pcre/functions/preg-quote.xml   Thu Feb 24 09:31:46 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 -->
   <refentry id="function.preg-quote">
    <refnamediv>
@@ -27,7 +27,7 @@
      used delimiter.</para>
     <para>
      The special regular expression characters are:
-     <literal>. \\ + * ? [ ^ ] $ ( ) { } = ! &lt; &gt; | :</literal>
+     <literal>. \ + * ? [ ^ ] $ ( ) { } = ! &lt; &gt; | :</literal>
     </para>
     <para>
      <example>
@@ -35,8 +35,8 @@
       <programlisting role="php">
 <![CDATA[
 <?php
-$keywords = "$40 for a g3/400";
-$keywords = preg_quote($keywords, "/");
+$keywords = '$40 for a g3/400';
+$keywords = preg_quote($keywords, '/');
 echo $keywords; // returns \$40 for a g3\/400
 ?>
 ]]>

Reply via email to