Comment 4 for bug 810122

Revision history for this message
Mohammad AbuShady (coalwater) wrote : Re: URL's highlighted and opened include trailing comma

The problem wasn't in the highlighting function, it was in the regex that detects the url, i changed the algorithm, the old one was looking for a space to stop seeking, i changed it to by asking it to seek till it finds an invalid character, and so far i'm just using commas, but before i propose a merge i would like to add all invalid characters to that check, so if any body has any invalid characters i should put in the regex check please tell me
The regex i changed:
http://bazaar.launchpad.net/~coalwater/lernid/fix-810122/revision/228#lernid/widgets/IrcWidget.py