Learn R Programming

⚠️There's a newer version (1.2.1) of this package.Take me there.

rex (version 0.1.0)

Simpler Regular Expressions

Description

A simpler, human-readable interface for the construction of regular expressions.

Copy Link

Version

Install

install.packages('rex')

Monthly Downloads

224,319

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Jim Hester

Last Published

October 14th, 2014

Functions in rex (0.1.0)

capture

Create a capture group
as.regex

as.character.regex

Regular Expression
not

Do not match
shortcuts

Shortcuts
single_shortcuts

Single shortcuts
escape

Escape characters for a regex
counts

Counts
lookarounds

Lookarounds
%or%

Or
group

Create a grouped expression
character_class

Create character classes
re_matches

Match function
character_class_escape

Character class escapes
wildcards

Wildcards
rex

Generate a regular expression.
re_substitutes

Substitution function
rex_mode

Rex Mode
%>%

Pipe operator