R/
Regular expressions > Constructing regular expressions

Next:<regexp> ( string -- regexp )


Vocabulary
regexp

Syntax
R/ foo.*|[a-zA-Z]bar/options


Word description
Literal syntax for a regular expression. When this syntax is used, the DFA is compiled at compile-time, rather than on first use. The syntax for the options string is documented in Regular expression options.

Definition