cvs: phpdoc /en/reference/regex reference.xml
| From: | Moriyoshi Koizumi | Date: | Thu, 17 Apr 2003 12:17:50 +0000 |
| Subject: | cvs: phpdoc /en/reference/regex reference.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969352632@lists.php.net to get a copy of this message | ||
moriyoshi Thu Apr 17 08:17:50 2003 EDT
Modified files:
/phpdoc/en/reference/regex reference.xml
Log:
Fixed typo
Index: phpdoc/en/reference/regex/reference.xml
diff -u phpdoc/en/reference/regex/reference.xml:1.6 phpdoc/en/reference/regex/reference.xml:1.7
--- phpdoc/en/reference/regex/reference.xml:1.6 Mon Dec 2 07:55:39 2002
+++ phpdoc/en/reference/regex/reference.xml Thu Apr 17 08:17:50 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<reference id="ref.regex">
<title>Regular Expression Functions (POSIX Extended)</title>
<titleabbrev>Regexps</titleabbrev>
@@ -85,11 +85,11 @@
<programlisting role="php">
<![CDATA[
ereg ("abc", $string);
-/* Returns true if"abc"
+/* Returns true if "abc"
is found anywhere in $string. */
ereg ("^abc", $string);
-/* Returns true if "abc";
+/* Returns true if "abc"
is found at the beginning of $string. */
ereg ("abc$", $string);
@@ -108,7 +108,7 @@
/* Put a <br /> tag at the beginning of $string. */
$string = ereg_replace ("$", "<br />", $string);
-/* Put a <br />; tag at the end of $string. */
+/* Put a <br /> tag at the end of $string. */
$string = ereg_replace ("\n", "", $string);
/* Get rid of any newline