mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Removed extra whitespace from comments and added CDATA sequences.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293340 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ea2e026059
commit
3ed85ceb3b
1 changed files with 16 additions and 8 deletions
|
@ -39,10 +39,12 @@
|
|||
following are all examples of valid delimited patterns.
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
/foo bar/
|
||||
#^[^0-9]$#
|
||||
+php+
|
||||
%[a-zA-Z0-9_-]%
|
||||
<![CDATA[
|
||||
/foo bar/
|
||||
#^[^0-9]$#
|
||||
+php+
|
||||
%[a-zA-Z0-9_-]%
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
|
@ -53,8 +55,10 @@
|
|||
readability.
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
/http:\/\//
|
||||
#http://#
|
||||
<![CDATA[
|
||||
/http:\/\//
|
||||
#http://#
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
The <function>preg_quote</function> function may be used to escape a string
|
||||
|
@ -67,7 +71,9 @@
|
|||
starting and ending delimiter, respectively.
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
{this is a pattern}
|
||||
<![CDATA[
|
||||
{this is a pattern}
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
|
@ -77,7 +83,9 @@
|
|||
of case-insensitive matching:
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
#[a-z]#i
|
||||
<![CDATA[
|
||||
#[a-z]#i
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue