[PHP/Perl?] eregs??
if (ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $date, $regs))
$text = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",
"<a href=\"\\0\">\\0</a>", $text);
i can see a lot of [{( +:/^ and stuff....
what are they there for?(i know the basic function of ereg_replace)
(yes...i took this from the php manual which hasnt explained any of this)
__________________
Why did the Comp. Engineer get X-mas and Halloween mixed up?
Because Oct(31) == Dec(25)
|