Crate regex_ansi

Crate regex_ansi 

Source
Expand description

regex_ansi: ANSI escape sequence matching.

High‑fidelity Rust port of the JavaScript ansi-regex pattern.

Constants§

ANSI_REGEX_PATTERN

Functions§

ansi_regex
Return the compiled global-style ANSI regex (intended for finding all matches).
ansi_regex_first
Return the compiled first-match ANSI regex (semantic helper; identical underlying pattern).
pattern
Return the raw ANSI regex pattern string.