RVerbalExpressions icon indicating copy to clipboard operation
RVerbalExpressions copied to clipboard

rx_raw ?

Open kwstat opened this issue 6 years ago • 1 comments

Just an idea. Might be nice to have a function called rx_raw which allows user to explicitly specify a part of the rx. For example:

rx_alpha() %>% rx_raw("{8}") "[A-z]{8}"

Yes, I know about rx_multiple. This is just an example when I know what the rx should look like, but I can't get the rx functions to bend to my will. Other possible names could be rx_expert, rx_as_is.

kwstat avatar Sep 20 '19 20:09 kwstat

Hi @kwstat thanks for your input! At one point, we had rx_literal which did exactly this, I will consider adding this function again.

I admittedly haven't been maintaining this repo, last commit was in April I think, but due to the attention it's getting, I plan to polish it up soon. Also, any contributions are welcome, so if you have ideas feel free to submit a pull request!

tylerlittlefield avatar Sep 20 '19 20:09 tylerlittlefield