Learn R Programming

regexr (version 1.1.0)

unglue: Get Sub-expressions from regexr Object

Description

Get sub-expressions from regexr object.

Usage

unglue(x, ...)

Arguments

x
A regexr object.
...
Ignored.

Value

Returns a list of regular expression chunks.

Examples

Run this code
minimal <- construct("a", "b", "c")
minimal
unglue(minimal)

Run the code above in your browser using DataLab