regexr: Readable Regular Expressions

An R framework for constructing and managing human readable regular expressions. It aims to provide tools that enable the user to write regular expressions in a way that is similar to the ways R code is written. The tools allow the user to (1) write in smaller, modular, named, sub-expressions, (2) write top to bottom, rather than a single string (3) comment individual chunks, (4) indent expressions to clearly present regular expression groups, (5) add vertical line spaces and R comments (i.e., #), and (6) test the validity of the concatenated expression and the modular sub-expressions.

Author
Tyler Rinker [aut, cre]
Date of publication
2015-08-16 23:06:08
Maintainer
Tyler Rinker <tyler.rinker@gmail.com>
License
GPL-2
Version
1.1.0
URLs

View on CRAN

Man pages

add_comments
Add Comments to Character Strings.
as.regexr
Generic Method to Coerce to regexr
as.regexr.character
Coerce character to regexr
as.regexr.default
Coerce default to regexr
comments
Get/Set Comments From a regexr Object
comments.regexr
Extract Comments From regexr Object
comments-set-.regexr
Set Comments For regexr
construct
Construct Human Readable Regular Expressions
get_construct
Extract Script from 'reverse_construct' to 'construct' a...
get_construct.reverse_construct
Extract Script from 'reverse_construct' to 'construct' a...
names.regexr
Get Names of Sub-Expressions of a regexr Object
names-set-.regexr
Set Names of a Sub-expressions of a regexr Object
print.regexr
Prints a regexr Object
print.reverse_construct
Prints a reverse_construct object
print.subcom
Prints a subcom object
print.summary_regexr
Prints a summary_regexr object
print.unglued
Prints an unglued object
regexr
regexr: Tools for Human Readable Regular Expressions
set_names
Set the Names in a 'regexr' Object
subs
Get/Set Regex Sub-expressions From a regexr Object
subs.regexr
Get Sub-expressions From a regexr Object
subs-set-.regexr
Set Regex Sub-expressions From a regexr Object
summary.regexr
Summarize a regexr Object
test
Test Regular Expression Validity
test.regexr
Test Regular Expression Validity
unglue
Get Sub-expressions from 'regexr' Object
unglue.regexr
Unglue regexr Object

Files in this package

regexr
regexr/inst
regexr/inst/CITATION
regexr/inst/functions_table
regexr/inst/functions_table/functions.R
regexr/inst/regexr_logo
regexr/inst/regexr_logo/Thumbs.db
regexr/inst/regexr_logo/r_regexr.png
regexr/tests
regexr/tests/testthat.R
regexr/tests/testthat
regexr/tests/testthat/test-comments.R
regexr/tests/testthat/test-unglue.R
regexr/tests/testthat/test-names.R
regexr/tests/testthat/test-summary.R
regexr/tests/testthat/test-get_construct.R
regexr/tests/testthat/test-test.R
regexr/tests/testthat/test-comment_binary_operator.R
regexr/tests/testthat/test-subs.R
regexr/tests/testthat/test-print.subcom.R
regexr/tests/testthat/test-construct.R
regexr/tests/testthat/test-as.regexr.R
regexr/NAMESPACE
regexr/NEWS
regexr/R
regexr/R/utils.R
regexr/R/regexr-class.R
regexr/R/comments.R
regexr/R/as.regexr.R
regexr/R/test.R
regexr/R/regexr-package.R
regexr/R/unglue.R
regexr/R/add_comments.R
regexr/R/set_names.R
regexr/R/construct.R
regexr/R/regex-class.R
regexr/R/subs.R
regexr/README.md
regexr/MD5
regexr/DESCRIPTION
regexr/man
regexr/man/regexr.Rd
regexr/man/print.regexr.Rd
regexr/man/summary.regexr.Rd
regexr/man/comments-set-.regexr.Rd
regexr/man/unglue.Rd
regexr/man/set_names.Rd
regexr/man/names.regexr.Rd
regexr/man/as.regexr.Rd
regexr/man/add_comments.Rd
regexr/man/as.regexr.default.Rd
regexr/man/names-set-.regexr.Rd
regexr/man/get_construct.reverse_construct.Rd
regexr/man/get_construct.Rd
regexr/man/comments.Rd
regexr/man/test.Rd
regexr/man/print.reverse_construct.Rd
regexr/man/subs.regexr.Rd
regexr/man/unglue.regexr.Rd
regexr/man/print.unglued.Rd
regexr/man/comments.regexr.Rd
regexr/man/as.regexr.character.Rd
regexr/man/test.regexr.Rd
regexr/man/construct.Rd
regexr/man/subs-set-.regexr.Rd
regexr/man/print.summary_regexr.Rd
regexr/man/subs.Rd
regexr/man/print.subcom.Rd