Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Re: Re: User Code

by duct_tape (Hermit)
on Dec 11, 2000 at 14:40 UTC ( [id://46080]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Re: Re: Re: Re: Re: User Code
in thread User Code

You could combine both of those regexps into one by doing something like this: s#\[(?:http(s)?://)?([^\|]+)\|([^\]]+)\]#<a href="http$1://$2">$3</a>#g;

- Brad

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Re: Re: User Code
by $code or die (Deacon) on Dec 11, 2000 at 18:20 UTC
    Nice one! Thanks!

    I didn't start this node and I think I managed to divert the topic somewhat, but have definitely been helped.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://46080]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.