mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-22 12:16:22 +01:00
15 lines
371 B
TypeScript
15 lines
371 B
TypeScript
/**
|
|
* Matches single and multiline accessible description
|
|
*/
|
|
export const accessibilityDescrRegex = /accDescr(?:[\t ]*:[\t ]*([^\n\r]*)|\s*{([^}]*)})/;
|
|
|
|
/**
|
|
* Matches single line accessible title
|
|
*/
|
|
export const accessibilityTitleRegex = /accTitle[\t ]*:[\t ]*([^\n\r]*)/;
|
|
|
|
/**
|
|
* Matches a single line title
|
|
*/
|
|
export const titleRegex = /title([\t ]+([^\n\r]*)|)/;
|