Retrieve regular expression named capture groups as a list
re_capture(x, re, ...)
a character string to capture from
the regular expression to use
additional arguments passed to regexpr
regexpr
a named list of matches
# NOT RUN { shinyAce:::re_capture("ak09j b", "(?<num>\\d+)(?<alpha>[a-zA-Z]+)", perl = TRUE) # }
Run the code above in your browser using DataLab