kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Comment and whitespace tweaks
rodzic
a9f34b8b00
commit
6dae1ad35a
|
@ -3,7 +3,7 @@ title: $:/core/modules/parsers/newwikitextparser/runrules/wikilink.js
|
||||||
type: application/javascript
|
type: application/javascript
|
||||||
module-type: wikitextrunrule
|
module-type: wikitextrunrule
|
||||||
|
|
||||||
Wiki text run rule for wiki links
|
Wiki text run rule for wiki links.
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
(function(){
|
||||||
|
@ -29,7 +29,7 @@ textPrimitives.wikiLink = "(?:(?:" + textPrimitives.upperLetter + "+" +
|
||||||
textPrimitives.upperLetter + "{2,}" +
|
textPrimitives.upperLetter + "{2,}" +
|
||||||
textPrimitives.lowerLetter + "+))";
|
textPrimitives.lowerLetter + "+))";
|
||||||
|
|
||||||
exports.regExpString = textPrimitives.unWikiLink+"?"+textPrimitives.wikiLink;
|
exports.regExpString = textPrimitives.unWikiLink + "?" + textPrimitives.wikiLink;
|
||||||
|
|
||||||
exports.parse = function(match) {
|
exports.parse = function(match) {
|
||||||
this.pos = match.index + match[0].length;
|
this.pos = match.index + match[0].length;
|
||||||
|
|
Ładowanie…
Reference in New Issue