From 6e6254521e7e3dce3c450c59ba177c6a24bbaa65 Mon Sep 17 00:00:00 2001 From: ericchiang Date: Sun, 23 Nov 2014 15:11:17 -0500 Subject: [PATCH] updated readme --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 5655c50..2b2ead3 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,22 @@ $ cat robots.html | pup ':parent-of([action="edit"])' For a complete list, view the [implemented selectors](#Implemented Selectors) section. + +####`+`, `>`, and `,` + +There are intermediate characters which declare special instructions. For +instance, a comma `,` allows pup to specify mulitple groups of selctors. + +```bash +cat robots.html | pup 'title, h1 span[dir="auto"]' + + Robots exclusion standard - Wikipedia, the free encyclopedia + + + Robots exclusion standard + +``` + ####Chain selectors together When combining selectors, the HTML nodes selected by the previous selector will