There's a bit of history here. We've found in the past that such a broad match gives too many false positives, but it may be worth revisiting the issue. I'll code for a broader match in the present refactoring and we'll see where that goes. Otherwise my thinking is to make the protocol list be configurable, as noted in the commit:
https://github.com/Jermolene/TiddlyWiki5/commit/2b5fb9801f34213a01a6f8cf94141cd3a0dab432 Best wishes Jeremy. On Sun, Oct 20, 2013 at 12:00 PM, Stephan Hradek <[email protected]>wrote: > Great! Thanks! > > Maybe a more general approach would also be good? After all a protocol (or > better scheme name) is nothing but an identifier, so it starts with a > letter and is followed by y any combination of letters, digits, plus ("+"), > period ("."), or hyphen ("-") […] followed by a colon (":"). > http://en.wikipedia.org/wiki/URI_scheme > > So this should fit: /[a-z][a-z0-9+.-]*:/ > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
