mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
ereg_replace: see also str_replace (incorporate user note), spelling corrections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@68027 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2365abfedc
commit
69d2467b6a
1 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.35 $ -->
|
||||
<!-- $Revision: 1.36 $ -->
|
||||
<reference id="ref.regex">
|
||||
<title>Regular Expression Functions (POSIX Extended)</title>
|
||||
<titleabbrev>Regexps</titleabbrev>
|
||||
|
@ -274,7 +274,8 @@ $text = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",
|
|||
</para>
|
||||
<simpara>
|
||||
See also <function>ereg</function>, <function>eregi</function>,
|
||||
<function>eregi_replace</function>, and <function>preg_match</function>.
|
||||
<function>eregi_replace</function>, <function>str_replace</function>,
|
||||
and <function>preg_match</function>.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
@ -394,12 +395,12 @@ list($user,$pass,$uid,$gid,$extra)= split (":", $passwd_line, 5);
|
|||
</para>
|
||||
<tip>
|
||||
<simpara>
|
||||
If there are <replaceable>n</replaceable> occurences of
|
||||
If there are <replaceable>n</replaceable> occurrences of
|
||||
<parameter>pattern</parameter>, the returned array will contain
|
||||
<literal><replaceable>n</replaceable>+1</literal> items. For example, if
|
||||
there is no occurence of <parameter>pattern</parameter>, an array with
|
||||
there is no occurrence of <parameter>pattern</parameter>, an array with
|
||||
only one element will be returned. Of course, this is also true if
|
||||
<parameter>string</parameter> is emply.
|
||||
<parameter>string</parameter> is empty.
|
||||
</simpara>
|
||||
</tip>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue