Fixed typo

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@123748 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Moriyoshi Koizumi 2003-04-17 12:17:50 +00:00
parent 6065c35498
commit e8c85ca00c

View file

@ -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 @@ $string = ereg_replace ("^", "<br />", $string);
/* 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