mask: Blanks out part of the string

Description Usage Arguments

View source: R/mask.R

Description

Blanks out part of the string

S3 method for with_flair objects

Default S3 method for flair_rx.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
mask(x, pattern, before = NULL, after = NULL, ...)

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

## S3 method for class 'with_flair'
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


flair documentation built on April 24, 2020, 1:06 a.m.