Create a compound regex grouped statement
Usage
regex_op(x, type = "|", prefix = "", suffix = "")
Arguments
- x
(character) regex strings
- type
(character) |, &, before, not_before supported.
- pre
(character) regex tokens to precede each string group. IE (?:[pre]x) w/out the braces
- suf
(character) regex tokens to follow each string group. IE (?:x[suf]) w/out the braces
Value
(character) grouped regex statement