in reply to Re: Re: Re: Re: Monks' Expression
in thread Monks' Expression

Hmm. Nothing in there about HTML-entitizing either the href or the body text. You probably knew that, but for the onlookers, the normal HTML quoting rules must apply here.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Monks' Expression
by repson (Chaplain) on Jan 22, 2001 at 07:12 UTC
    use CGI qw/:standard/; $text =~ s#\[(id=[^]]*)]([^[]*)\[/id]#a({href => $targetURL . $1}, $2) +#eg;