We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b9070b commit 6e62545Copy full SHA for 6e62545
README.md
@@ -149,6 +149,22 @@ $ cat robots.html | pup ':parent-of([action="edit"])'
149
For a complete list, view the [implemented selectors](#Implemented Selectors)
150
section.
151
152
+
153
+####`+`, `>`, and `,`
154
155
+There are intermediate characters which declare special instructions. For
156
+instance, a comma `,` allows pup to specify mulitple groups of selctors.
157
158
+```bash
159
+cat robots.html | pup 'title, h1 span[dir="auto"]'
160
+<title>
161
+ Robots exclusion standard - Wikipedia, the free encyclopedia
162
+</title>
163
+<span dir="auto">
164
+ Robots exclusion standard
165
+</span>
166
+```
167
168
####Chain selectors together
169
170
When combining selectors, the HTML nodes selected by the previous selector will
0 commit comments