in reply to User Code
or$text =~ s~[link=(\[\w/\:\.]+)\](.+)\[/link\]~<a href='$1'>$2</a>~g;
$text =~ s~\[img\](.+)\[/link\]~<img src='$1'>~g;
- p u n k k i d
"Reality is merely an illusion,
albeit a very persistent one."
-Albert Einstein
update: thanx to arturo for noticing my error with the brackets
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: User Code
by arturo (Vicar) on Dec 09, 2000 at 08:22 UTC | |
by $code or die (Deacon) on Dec 10, 2000 at 00:00 UTC | |
by arturo (Vicar) on Dec 10, 2000 at 01:00 UTC | |
by $code or die (Deacon) on Dec 11, 2000 at 07:19 UTC | |
by chipmunk (Parson) on Dec 11, 2000 at 08:51 UTC | |
| |
by Monolith-0 (Beadle) on Dec 09, 2000 at 08:43 UTC |