CVS update: php3/doc/functions

From: Date: Mon, 14 Jun 1999 19:55:51 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-6970@lists.php.net to get a copy of this message
Date: Monday June 14, 1999 @ 15:55 Author: andrey Update of /repository/php3/doc/functions In directory php:/tmp/cvs-serv17479/functions Modified Files: pcre.sgml Log Message: Error in preg_match_all() example. Needs to be updated on the site ASAP. Index: php3/doc/functions/pcre.sgml diff -u php3/doc/functions/pcre.sgml:1.13 php3/doc/functions/pcre.sgml:1.14 --- php3/doc/functions/pcre.sgml:1.13 Mon Jun 14 09:36:48 1999 +++ php3/doc/functions/pcre.sgml Mon Jun 14 15:55:50 1999 @@ -124,7 +124,7 @@ <informalexample> <programlisting> -preg_match_all("|&lt;[^>]+>(.*)&lt;/[^>]+>|U", "&lt;div align=left>a test&lt;/div>", $out, PREG_PATTERN_ORDER); +preg_match_all("|&lt;[^>]+>(.*)&lt;/[^>]+>|U", "&lt;b>example: &lt;/b>&lt;div align=left>a test&lt;/div>", $out, PREG_PATTERN_ORDER); print $out[0][0].", ".$out[0][1]."\n"; print $out[1][0].", ".$out[1][1]."\n" </programlisting> @@ -152,7 +152,7 @@ <informalexample> <programlisting> -preg_match_all("|&lt;[^>]+>(.*)&lt;/[^>]+>|U", "&lt;div align=left>a test&lt;/div>", $out, PREG_SET_ORDER); +preg_match_all("|&lt;[^>]+>(.*)&lt;/[^>]+>|U", "&lt;b>example: &lt;/b>&lt;div align=left>a test&lt;/div>", $out, PREG_SET_ORDER); print $out[0][0].", ".$out[0][1]."\n"; print $out[1][0].", ".$out[1][1]."\n" </programlisting>

« previous php.dev (#6970) next »