Learn R Programming

jug (version 0.1.7)

match_path: Helper function to extract regex named capture groups from string

Description

adapted from: http://oddhypothesis.blogspot.be/2012/05/regex-named-capture-in-r.html

Usage

match_path(pattern, path, ...)

Arguments

pattern
regex pattern
path
the path to test the regex pattern against
...
arguments passed to regexpr