Learn R Programming

flair (version 0.0.2)

mask: Blanks out part of the string

Description

Blanks out part of the string

S3 method for with_flair objects

Default S3 method for flair_rx.

Usage

mask(x, pattern, before = NULL, after = NULL, ...)

mask_rx(x, pattern, before = NULL, after = NULL, ...)

# S3 method for with_flair mask_rx(x, pattern, before = NULL, after = NULL, ...)

# S3 method for default mask_rx(x, pattern, before = NULL, after = NULL, ...)

mask_quick(x, pattern, before = NULL, after = NULL, ...)

Arguments

x

A string object or decorate_code object.

pattern

A pattern to match

before

Custom preceding html tag

after

Custom ending html tag

...

Further formatting options, passed to txt_style