Learn R Programming

rebus (version 0.0-4)

repeat_in_class: Engine for grouping and repeating classes

Description

An engine for the class functions that implicited calls char_class and repeated for certain input combinations.

Usage

repeat_in_class(x, lo, hi, char_class)

Arguments

x
A string.
lo
A non-negative integer. Minimum number of repeats, when grouped.
hi
positive integer. Maximum number of repeats, when grouped.
char_class
TRUE or FALSE. Should the class be grouped?

Value

  • A character vector representing part or all of a regular expression.