mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-28 15:08:46 +00:00
Fix bug with 2cb6400773
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:
parent
2cb6400773
commit
18e38bb2bc
@ -18,7 +18,7 @@ exports.types = {inline: true};
|
|||||||
exports.init = function(parser) {
|
exports.init = function(parser) {
|
||||||
this.parser = parser;
|
this.parser = parser;
|
||||||
// Regexp to match
|
// Regexp to match
|
||||||
this.matchRegExp = /~?\$:\/[a-zA-Z0-9/.-_]+/mg;
|
this.matchRegExp = /~?\$:\/[a-zA-Z0-9/.\-_]+/mg;
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.parse = function() {
|
exports.parse = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user