This will basically never match anything, because it is has to match the beginning of the line followed by a x three times. This combination needs to return ^(?:x){3}. You can get the correct thing with start, 'x' %>% n_times(3), but best way to achieve this with start_this()
This will basically never match anything, because it is has to match the beginning of the line followed by a
x
three times. This combination needs to return^(?:x){3}
. You can get the correct thing withstart, 'x' %>% n_times(3)
, but best way to achieve this withstart_this()