| parse_selector {cli} | R Documentation |
Parse a CSS3-like selector
Description
This is the rather small subset of CSS3 that is supported:
Usage
parse_selector(x)
Arguments
x |
CSS3-like selector string. |
Details
Selectors:
Type selectors, e.g.
inputselects all<input>elements.Class selectors, e.g.
.indexselects any element that has a class of "index".ID selector.
#tocwill match the element that has the ID"toc".
Combinators:
Descendant combinator, i.e. the space, that combinator selects nodes that are descendants of the first element. E.g.
div spanwill match all<span>elements that are inside a<div>element.
[Package cli version 3.6.3 Index]