Matches spaces, tabs, and line breaks.

xp_build_whitespace(pattern = NULL)

Arguments

pattern

(Optional) An existing pattern from a pipe.

Value

A regexpert object.

Examples

# Match two words separated by whitespace
xp_build_letters() %>% xp_build_whitespace() %>% xp_build_letters()
#> <regexpert pattern>
#>   [A-Za-z]\s[A-Za-z]