mirror of
https://github.com/ericchiang/pup
synced 2024-11-24 00:48:36 +00:00
Update README.md
This commit is contained in:
parent
3e26ed725f
commit
abd4c986bf
@ -143,6 +143,11 @@ cat index.html | pup \#id
|
||||
cat index.html | pup element
|
||||
cat index.html | pup [attribute]
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user