regex_op: Create a compound regex grouped statement

View source: R/universal_useful.R

regex_opR Documentation

Create a compound regex grouped statement

Description

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


yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.