Skip to contents

trans fixed string into regular expression string

Usage

fix_to_regex(p)

Arguments

p

raw fixed pattern

Value

regex pattern

Examples

fix_to_regex("ABC|?(*)")
#> [1] "ABC\\|\\?\\(\\*\\)"