Print or format regex objects
Prints/formats objects of class regex
.
## S3 method for class 'regex' format(x, ...) ## S3 method for class 'regex' print(x, encode_string = FALSE, ...)
x |
A regex object. |
... |
Passed from other format methods. Currently ignored. |
encode_string |
If |
format.regex
returns a character vector. print.regex
is invoked for the side effect of printing the regex object.
group(1:5) lookahead(1:5)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.