irc-html Fri Jan 18 10:21:25 2002 EDT
Modified files:
/phpdoc/en/functions regex.xml
Log:
ereg_replace: see also str_replace (incorporate user note), spelling corrections
Index: phpdoc/en/functions/regex.xml
diff -u phpdoc/en/functions/regex.xml:1.35 phpdoc/en/functions/regex.xml:1.36
--- phpdoc/en/functions/regex.xml:1.35 Mon Dec 17 14:34:59 2001
+++ phpdoc/en/functions/regex.xml Fri Jan 18 10:21:25 2002
@@ -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 @@
</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 @@
</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>