Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Monk Links - Copy Perlmonks-links to the clipboard in on-site-format

by The Mad Hatter (Priest)
on Mar 06, 2005 at 21:05 UTC ( [id://437087] : note . print w/replies, xml ) Need Help??


in reply to Re^2: Monk Links - Copy Perlmonks-links to the clipboard in on-site-format
in thread Monk Links - Copy Perlmonks-links to the clipboard in on-site-format

As a quick hack, you could do decodeURI(s).replace('%3a',':');.

Replies are listed 'Best First'.
Re^4: Monk Links - Copy Perlmonks-links to the clipboard in on-site-format
by holli (Abbot) on Mar 06, 2005 at 21:30 UTC
    Thanks a lot The Mad Hatter. But that must be decodeURI(s).replace(/%3a/gi,':');. Otherwise only the first occurance is replaced.


    holli, /regexed monk/
      Urk, you're right. Sorry about that.