From 2cb6400773096b02b71c1851fb0fac5dfefbbd6f Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 13 Jul 2015 14:42:55 +0100 Subject: [PATCH] Extend automatic system tiddler linking to digits and underscore Fixes #1877 --- core/modules/parsers/wikiparser/rules/syslink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/parsers/wikiparser/rules/syslink.js b/core/modules/parsers/wikiparser/rules/syslink.js index c3f49e38f..4c559262b 100644 --- a/core/modules/parsers/wikiparser/rules/syslink.js +++ b/core/modules/parsers/wikiparser/rules/syslink.js @@ -18,7 +18,7 @@ exports.types = {inline: true}; exports.init = function(parser) { this.parser = parser; // Regexp to match - this.matchRegExp = /~?\$:\/[a-zA-Z/.-]+/mg; + this.matchRegExp = /~?\$:\/[a-zA-Z0-9/.-_]+/mg; }; exports.parse = function() {