1
0
mirror of https://github.com/ericchiang/pup synced 2024-11-24 08:58:08 +00:00

Update README.md

This commit is contained in:
Eric Chiang 2014-09-14 19:25:43 -04:00
parent 3e26ed725f
commit abd4c986bf

View File

@ -143,6 +143,11 @@ cat index.html | pup \#id
cat index.html | pup element cat index.html | pup element
cat index.html | pup [attribute] cat index.html | pup [attribute]
cat index.html | pup [attribute=value] cat index.html | pup [attribute=value]
# Probably best to quote enclose wildcards
cat index.html | pup '[attribute*=value]'
cat index.html | pup [attribute~=value]
cat index.html | pup [attribute^=value]
cat index.html | pup [attribute$=value]
``` ```
You can mix and match selectors as you wish. You can mix and match selectors as you wish.