Prints the current regex pattern to the console in a clean format.

xp_action_view(pattern)

Arguments

pattern

A regexpert object.

Examples

xp_build_digits() %>% xp_op_repeat(3) %>% xp_action_view()
#> Current Regex Pattern:
#> (?:\d){3}