powered by
helper function to standardize regexpr results
regmatches2(tmp, group = TRUE)
regexpr or gregexpr result