| explain {qdapRegex} | R Documentation |
Visualize regular expressions using http://www.regexper.com & http://rick.measham.id.au/paste/explain.
explain(pattern, open = FALSE, print = TRUE,
dictionary = getOption("regex.library"))
pattern |
A character string containing a regular expression or a
character string starting with |
open |
logical. If |
print |
logical. Should |
dictionary |
A dictionary of canned regular expressions to search within. |
Note that http://www.regexper.com is a Java based regular expression viewer. Lookbehind and negative lookbehinds are not respected.
Prints http://rick.measham.id.au/paste/explain to the console, attempts to open the url to the visual representation provided by http://www.regexper.com, and invisibly returns a list with the URLs.
Ananda Mahto, Matthew Flickinger, and Tyler Rinker <tyler.rinker@gmail.com>.
http://stackoverflow.com/a/27489977/1000343
http://www.regexper.com
http://rick.measham.id.au/paste/explain
http://stackoverflow.com/a/27574103/1000343
http://www.regexper.com
http://rick.measham.id.au/paste/explain
explain("\\s*foo[A-Z]\\d{2,3}")
explain("@rm_time")
## Not run:
explain("\\s*foo[A-Z]\\d{2,3}", open = TRUE)
explain("@rm_time", open = TRUE)
## End(Not run)