mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-25 12:56:56 +00:00
Fix bug with 2cb6400773096b02b71c1851fb0fac5dfefbbd6f
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) {
|
||||
this.parser = parser;
|
||||
// Regexp to match
|
||||
this.matchRegExp = /~?\$:\/[a-zA-Z0-9/.-_]+/mg;
|
||||
this.matchRegExp = /~?\$:\/[a-zA-Z0-9/.\-_]+/mg;
|
||||
};
|
||||
|
||||
exports.parse = function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user