mask: Blanks out part of the string

View source: R/mask.R

maskR Documentation

Blanks out part of the string

Description

Blanks out part of the string

S3 method for decorated 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 class 'decorated'
mask_rx(x, pattern, before = NULL, after = NULL, ...)

## Default S3 method:
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


kbodwin/flair documentation built on Feb. 6, 2023, 4:24 p.m.