Originally Posted By: vexed2
I found this little alias on a pastebin, but it never said who was the author so i can't give any thanks.
I was wondering if anyone that knows regsubex can add to this so that as well as urls
It'll highlight irc links and email addresses when pasted into a channel.
Here's the alias

Code:
alias urlu {
  return $regsubex($1-,/\b(www\.\S+|http://\S+|\w+(?:[\.-]\w+)?@\w+(?:[\.-]\w+)?\.[a-z]{2,4})\b/gi,$+(2,\1,))
}


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,$+(2,\1,))
}


updated with irc\.\ & irc:// & @ but the email doesnt highlight the username just the @ and host I forgot the regexsub string for beginning match


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }