Improve syslink parsing

Fixes #1767
This commit is contained in:
Jermolene
2015-06-24 09:24:03 +01:00
parent 948b72dc7a
commit 50c6ce8b73
@@ -18,7 +18,7 @@ exports.types = {inline: true};
exports.init = function(parser) {
this.parser = parser;
// Regexp to match
this.matchRegExp = /~?\$:[^\s<|]+(?:[^\s<|])/mg;
this.matchRegExp = /~?\$:\/[a-zA-Z/.-]+/mg;
};
exports.parse = function() {