Perl compatible regular expression that matches ANSI escape sequences
Source:R/ansiex.R
ansi_regex.RdDon't forget to use perl = TRUE when using this with grepl() and
friends.
See also
Other low level ANSI functions:
ansi_has_any(),
ansi_hide_cursor(),
ansi_string(),
ansi_strip()