|
|
|
@ -54,10 +54,9 @@ export const language = <languages.IMonarchLanguage>{
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
alphanumerics: /[A-Za-z0-9]/,
|
|
|
|
|
alphanumericsplus: /[A-Za-z0-9-_+:.]/,
|
|
|
|
|
simpleRefNameWithoutBq: /(?:@alphanumerics@alphanumericsplus*@alphanumerics)+|(?:@alphanumerics+)/,
|
|
|
|
|
simpleRefName: /(?:`@simpleRefNameWithoutBq`|@simpleRefNameWithoutBq)/,
|
|
|
|
|
phrase: /@simpleRefName(?:\s@simpleRefName)*/,
|
|
|
|
|
simpleRefNameWithoutBq: /(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,
|
|
|
|
|
simpleRefName: /(?:`@phrase`|@simpleRefNameWithoutBq)/,
|
|
|
|
|
phrase: /@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,
|
|
|
|
|
citationName: /[A-Za-z][A-Za-z0-9-_.]*/,
|
|
|
|
|
blockLiteralStart: /(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,
|
|
|
|
|
precedingChars: /(?:[ -:/'"<([{])/,
|
|
|
|
|