RVerbalExpressions
RVerbalExpressions copied to clipboard
:speech_balloon: Create regular expressions easily
Would be nice if the description for the `rx_not()` function also had a sentence like this: See also the more descriptive functions `rx_avoid_prefix()` and `rx_avoid_suffix()`.
rx_raw ?
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,...
Basically boils down to detecting that `.data` is not of `rx_string` class and acting as though first argument is the `value` argument. Reference: http://adv-r.had.co.nz/S3.html > UPDATED: sanitize now has method...
I have been thinking how to organize package documentation. We basically have a few "groups" of functions that may make sense to be introduced together (at least in pkgdown): ###...
Right now we have `rx_or` implementation which compares `.data` and `value` ```r ##### Do not run rx() %>% rx_find("a") %>% rx_or("b") # or at best rx_or(rx_find("b")) ``` In the comments...
### Problem I think the package will be incomplete until we find a way to express groups of characters. Here's a challenge to express email pattern matching in `rx`: ...
We need more end-to-end examples. Emails, urls, SSNs, license plates, etc. Lets collect links to those here and later implement.
Awesome short name and a hex with blue and red pill. Tagline: "Rx is a painkiller for regex" ```r available::available("rx") #> -- rx -------------------------------------------------------------------------- #> Name valid: ✔ #> Available...