kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Simplified wiki link CamelCase regexp
Removed rule that made `AAaaa` be a wikilinkprint-window-tiddler
rodzic
e85ae59fd8
commit
ca8cf1a386
|
@ -24,12 +24,10 @@ var textPrimitives = {
|
|||
};
|
||||
|
||||
textPrimitives.unWikiLink = "~";
|
||||
textPrimitives.wikiLink = "(?:(?:" + textPrimitives.upperLetter + "+" +
|
||||
textPrimitives.wikiLink = textPrimitives.upperLetter + "+" +
|
||||
textPrimitives.lowerLetter + "+" +
|
||||
textPrimitives.upperLetter +
|
||||
textPrimitives.anyLetter + "*)|(?:" +
|
||||
textPrimitives.upperLetter + "{2,}" +
|
||||
textPrimitives.lowerLetter + "+))";
|
||||
textPrimitives.anyLetter + "*";
|
||||
|
||||
exports.regExpString = textPrimitives.unWikiLink + "?" + textPrimitives.wikiLink;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue