format.regex {rebus.base} | R Documentation |
Print or format regex objects
Description
Prints/formats objects of class regex
.
Usage
## S3 method for class 'regex'
format(x, ...)
## S3 method for class 'regex'
print(x, encode_string = FALSE, ...)
Arguments
x |
A regex object. |
... |
Passed from other format methods. Currently ignored. |
encode_string |
If |
Value
format.regex
returns a character vector. print.regex
is invoked for the side effect of printing the regex object.
Examples
group(1:5)
lookahead(1:5)
[Package rebus.base version 0.0-3 Index]