Top Level Namespace
Defined in:
Constant Summary
-
ANSI_REGEXP =
"[\\x{001B}\\x{009B}][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\x{0007})|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"
-
This is nor authoritative nor exhaustive, but it's the most complete regexp I found cf. https://github.com/chalk/ansi-regex/blob/main/index.js
-
DEFAULT_DELIMITER =
"\n"