regexr: regexr: Tools for Human Readable Regular Expressions

Description

Description

regexr is 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 sub-expressions

  4. Indent expressions to represent regular expression groups

  5. Add vertical line spaces and R comments (i.e., #)

  6. Test the validity of the concatenated expression and the modular sub-expressions

This framework harnesses the power and flexibility of regular expressions but provides a structural frame that is more consistent with both code writing and natural language conventions.



Search within the regexr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.