in reply to Drop in regex replacements?
$1 and $2 are getting extrapolated in this definitions, while I think you mean to have them there as literals.my %taglist_complex = ( 'email' => "<a href='mailto:$1'>$2</a>", 'url' => "<a href='$1'>$2</a>", 'img' => "<img src='$1' alt='$2' />" );
-- Dan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Drop in regex replacements?
by IOrdy (Friar) on Sep 09, 2002 at 14:42 UTC |