1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-27 14:48:19 +00:00

Comment and whitespace tweaks

This commit is contained in:
Jeremy Ruston 2012-05-26 23:37:24 +01:00
parent a9f34b8b00
commit 6dae1ad35a

View File

@ -3,7 +3,7 @@ title: $:/core/modules/parsers/newwikitextparser/runrules/wikilink.js
type: application/javascript
module-type: wikitextrunrule
Wiki text run rule for wiki links
Wiki text run rule for wiki links.
\*/
(function(){
@ -29,7 +29,7 @@ textPrimitives.wikiLink = "(?:(?:" + textPrimitives.upperLetter + "+" +
textPrimitives.upperLetter + "{2,}" +
textPrimitives.lowerLetter + "+))";
exports.regExpString = textPrimitives.unWikiLink+"?"+textPrimitives.wikiLink;
exports.regExpString = textPrimitives.unWikiLink + "?" + textPrimitives.wikiLink;
exports.parse = function(match) {
this.pos = match.index + match[0].length;