1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00
The problem was that we failed to escape the dash in the regexp,
meaning that it was matching all characters from “.” to “_”.
This commit is contained in:
Jermolene 2015-07-14 08:33:12 +01:00
parent 2cb6400773
commit 18e38bb2bc

View File

@ -18,7 +18,7 @@ exports.types = {inline: true};
exports.init = function(parser) {
this.parser = parser;
// Regexp to match
this.matchRegExp = /~?\$:\/[a-zA-Z0-9/.-_]+/mg;
this.matchRegExp = /~?\$:\/[a-zA-Z0-9/.\-_]+/mg;
};
exports.parse = function() {