ClickableUrls_SublimeText icon indicating copy to clipboard operation
ClickableUrls_SublimeText copied to clipboard

URL detection stops at character '

Open NicHub opened this issue 9 years ago • 2 comments

That means the plugin cannot open this URL for example:

http://fr.wikipedia.org/wiki/Liste_des_logiciels_CAO_pour_l'architecture,_l'ingénierie_et_la_construction

NicHub avatar Jun 16 '15 10:06 NicHub

I will add the quote character to the URL regex, but the bad news is - it's going to stop at "é".

URL regexes are tricky, and I picked a robust but simple one. There's a more complete regex here, but it's not a straightforward port to Sublime Text - and not to Python, because instead of compiling the regex on the plugin's side I have to pass it as a string to Sublime Text's matcher engine.

leonid-shevtsov avatar Jun 19 '15 21:06 leonid-shevtsov

Thank you for your help. I hope you’ll find a good solution too.

NicHub avatar Jun 22 '15 06:06 NicHub