svn: /phpdoc/en/trunk/reference/pcre/ pattern.syntax.xml

From: Date: Sun, 10 Jan 2010 00:55:54 +0000
Subject: svn: /phpdoc/en/trunk/reference/pcre/ pattern.syntax.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5802@lists.php.net to get a copy of this message
degeberg Sun, 10 Jan 2010 00:55:54 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=293340 Log: Removed extra whitespace from comments and added CDATA sequences. Changed paths: U phpdoc/en/trunk/reference/pcre/pattern.syntax.xml Modified: phpdoc/en/trunk/reference/pcre/pattern.syntax.xml =================================================================== --- phpdoc/en/trunk/reference/pcre/pattern.syntax.xml 2010-01-09 23:59:00 UTC (rev 293339) +++ phpdoc/en/trunk/reference/pcre/pattern.syntax.xml 2010-01-10 00:55:54 UTC (rev 293340) @@ -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>

« previous php.doc.cvs (#5802) next »