regsubex - 22/12/07 04:35 PM
I've got this alias for underlining urls/irc/email links which i got from here.
I've just noticed though, it doesn't underline the / character it contains one, ie;
www.mirc.com works fine
www.mirc.com/ the / doesn't get underlined
Not knowing about regsubex i needed to ask here, and help gladly appreciated.
I've just noticed though, it doesn't underline the / character it contains one, ie;
www.mirc.com works fine
www.mirc.com/ the / doesn't get underlined
Code:
alias urlu { return $regsubex($1-,/\b(\^@\S+|www\.\S+|http://\S+|irc\.\S+|irc://\S+|\w+(?:[\.-]\w+)?@\w+(?:[\.-]\w+)?\.[a-z]{2,4})\b/gi,$+(10,\1,)) }
Not knowing about regsubex i needed to ask here, and help gladly appreciated.