Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rx_raw ? #24

Open
kwstat opened this issue Sep 20, 2019 · 1 comment
Open

rx_raw ? #24

kwstat opened this issue Sep 20, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@kwstat
Copy link

kwstat commented Sep 20, 2019

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.

@tylerlittlefield tylerlittlefield added the enhancement New feature or request label Sep 20, 2019
@tylerlittlefield
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants