ansi_regex: Perl compatible regular expression that matches ANSI escape...

View source: R/ansiex.R

ansi_regexR Documentation

Perl compatible regular expression that matches ANSI escape sequences

Description

Don't forget to use perl = TRUE when using this with grepl() and friends.

Usage

ansi_regex()

Value

String scalar, the regular expression.

See Also

Other low level ANSI functions: ansi_has_any(), ansi_hide_cursor(), ansi_string(), ansi_strip()


cli documentation built on June 22, 2024, 10:57 a.m.