goba Mon Feb 12 12:09:57 2001 EDT
Modified files:
/phpdoc/en/functions regex.xml
Log:
Correcting 'typo' noticed by Daniel Ems <[EMAIL PROTECTED]>
Index: phpdoc/en/functions/regex.xml
diff -u phpdoc/en/functions/regex.xml:1.15 phpdoc/en/functions/regex.xml:1.16
--- phpdoc/en/functions/regex.xml:1.15 Mon Jan 22 16:56:28 2001
+++ phpdoc/en/functions/regex.xml Mon Feb 12 12:09:57 2001
@@ -126,7 +126,7 @@
The following code snippet takes a date in ISO format
(YYYY-MM-DD) and prints it in DD.MM.YYYY format:
<example>
- <title><function>Ereg</function> Example</title>
+ <title><function>ereg</function> Example</title>
<programlisting role="php">
if (ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $date, $regs)) {
echo "$regs[3].$regs[2].$regs[1]";
@@ -188,7 +188,7 @@
For example, the following code snippet prints "This was a test"
three times:
<example>
- <title><function>Ereg_replace</function> Example</title>
+ <title><function>ereg_replace</function> Example</title>
<programlisting>
$string = "This is a test";
echo ereg_replace (" is", " was", $string);