Package: RVerbalExpressions 0.1.1

Tyler Littlefield

RVerbalExpressions: Create Regular Expressions Easily

Build regular expressions using grammar and functionality inspired by <https://github.com/VerbalExpressions>. Usage of the %>% is encouraged to build expressions in a chain-like fashion.

Authors:Tyler Littlefield [aut, cre], Dmytro Perepolkin [ctb]

RVerbalExpressions_0.1.1.tar.gz
RVerbalExpressions_0.1.1.zip(r-4.5)RVerbalExpressions_0.1.1.zip(r-4.4)RVerbalExpressions_0.1.1.zip(r-4.3)
RVerbalExpressions_0.1.1.tgz(r-4.4-any)RVerbalExpressions_0.1.1.tgz(r-4.3-any)
RVerbalExpressions_0.1.1.tar.gz(r-4.5-noble)RVerbalExpressions_0.1.1.tar.gz(r-4.4-noble)
RVerbalExpressions_0.1.1.tgz(r-4.4-emscripten)RVerbalExpressions_0.1.1.tgz(r-4.3-emscripten)
RVerbalExpressions.pdf |RVerbalExpressions.html
RVerbalExpressions/json (API)
NEWS

# Install 'RVerbalExpressions' in R:
install.packages('RVerbalExpressions', repos = c('https://verbalexpressions.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/verbalexpressions/rverbalexpressions/issues

On CRAN:

regexregular-expressionsverbal-expressions

7.17 score 280 stars 105 scripts 187 downloads 38 exports 1 dependencies

Last updated 8 months agofrom:23b940a21c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-winOKNov 12 2024
R-4.5-linuxOKNov 12 2024
R-4.4-winOKNov 12 2024
R-4.4-macOKNov 12 2024
R-4.3-winOKNov 12 2024
R-4.3-macOKNov 12 2024

Exports:%>%rxrx_alnumrx_alpharx_any_ofrx_anythingrx_anything_butrx_avoid_prefixrx_avoid_suffixrx_begin_capturerx_digitrx_either_ofrx_end_capturerx_end_of_linerx_findrx_line_breakrx_lowercaserx_mayberx_multiplerx_none_or_morerx_notrx_one_or_morerx_punctuationrx_rangerx_seek_prefixrx_seek_suffixrx_somethingrx_something_butrx_spacerx_start_of_linerx_tabrx_uppercaserx_whitespacerx_with_any_caserx_wordrx_word_charrx_word_edgesanitize

Dependencies:magrittr

Examples

Rendered fromexamples.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2019-09-21
Started: 2019-03-01

Readme and manuals

Help Manual

Help pageTopics
Constructs a Verbal Expressionrx
Match alphanumeric characters.rx_alnum
Match alphabetic characters.rx_alpha
Match any of these characters exactly once.rx_any_of
Match any character(s) any (including zero) number of times.rx_anything
Match any character(s) except these any (including zero) number of times.rx_anything_but
Negative lookaround functionsrx_avoid_prefix rx_avoid_suffix
Begin a capture group.rx_begin_capture
Match a digit (0–9).rx_digit
Alternatively, match either expression.rx_either_of
End a capture group.rx_end_capture
Match the expression only if it appears till the end of the line.rx_end_of_line
Match an expression.rx_find
Match a line break.rx_line_break
Match lower case letters.rx_lowercase
Optionally match an expression.rx_maybe
Match the previous group any number of times.rx_multiple
Match the previous stuff zero or many times.rx_none_or_more
Ensure that the parameter does not follow.rx_not
Match the previous stuff one or more times.rx_one_or_more
Match punctuation characters.rx_punctuation
Match any character within the range defined by the parameters.rx_range
Positive lookaround functionsrx_seek_prefix rx_seek_suffix
Match any character(s) at least once.rx_something
Match any character(s) except these at least once.rx_something_but
Match a space character.rx_space
Match the expression only if it appears from beginning of line.rx_start_of_line
Match a tab character.rx_tab
Match upper case letters.rx_uppercase
Match a whitespace character.rx_whitespace
Control case-insensitive matching.rx_with_any_case
Match a word.rx_word
Match a word character.rx_word_char
Find beginning or end of a word.rx_word_edge
Escape characters expected special by regex enginessanitize