#25 - quoted terms and exclusions

This commit is contained in:
Simon Cambier
2022-04-29 22:56:41 +02:00
parent 317aeefc0a
commit 0f7036abae
5 changed files with 416 additions and 13 deletions

View File

@@ -4,6 +4,7 @@ import { EventBus } from './event-bus'
export const regexWikilink = /^!?\[\[(?<name>.+?)(\|(?<alias>.+?))?\]\]/
export const regexLineSplit = /\r?\n|\r|((\.|\?|!)( |\r?\n|\r))/g
export const regexYaml = /^---\s*\n(.*?)\n?^---\s?/ms
export const regexStripQuotes = /^"|"$|^'|'$/g
export const excerptBefore = 100
export const excerptAfter = 180