mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Single backslash, single quotes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180667 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3769bb0f3c
commit
3b3a880c96
1 changed files with 4 additions and 4 deletions
|
@ -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>. \\ + * ? [ ^ ] $ ( ) { } = ! < > | :</literal>
|
||||
<literal>. \ + * ? [ ^ ] $ ( ) { } = ! < > | :</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
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue