mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 07:19:41 +02:00

* pref: optimize `common` rules and matchers * chore: rename diagrams services to short form * chore: sort imports
15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
/**
|
|
* Matches single and multi line accessible description
|
|
*/
|
|
export const accessibilityDescrRegex = /accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/;
|
|
|
|
/**
|
|
* Matches single line accessible title
|
|
*/
|
|
export const accessibilityTitleRegex = /accTitle[\t ]*:([^\n\r]*)/;
|
|
|
|
/**
|
|
* Matches a single line title
|
|
*/
|
|
export const titleRegex = /title([\t ][^\n\r]*|)/;
|