path_filter | R Documentation |
Filter paths
path_filter(path, glob = NULL, regexp = NULL, invert = FALSE, ...)
path |
A character vector of one or more paths. |
glob |
A wildcard aka globbing pattern (e.g. |
regexp |
A regular expression (e.g. |
invert |
If |
... |
Additional arguments passed to grep. |
path_filter(c("foo", "boo", "bar"), glob = "*oo")
path_filter(c("foo", "boo", "bar"), glob = "*oo", invert = TRUE)
path_filter(c("foo", "boo", "bar"), regexp = "b.r")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.