The problem was that we failed to escape the dash in the regexp,
meaning that it was matching all characters from “.” to “_”.
print-window-tiddler
Jermolene 2015-07-14 08:33:12 +01:00
rodzic 2cb6400773
commit 18e38bb2bc
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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() {