mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@123748 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6065c35498
commit
e8c85ca00c
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue