(words)
| 7 | */ |
| 8 | export function mathjsLang(math) { |
| 9 | function wordRegexp(words) { |
| 10 | return new RegExp('^((' + words.join(')|(') + '))\\b') |
| 11 | } |
| 12 | |
| 13 | const singleOperators = new RegExp("^[-+*/&|^~<>!%']") |
| 14 | const singleDelimiters = new RegExp('^[([{},:=;.?]') |
no outgoing calls
no test coverage detected
searching dependent graphs…