We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This works select p:nth-of-type(2)|select a|read attribute href
select p:nth-of-type(2)|select a|read attribute href
This gives error: Invalid quantifier expression select p:nth-of-type(2) a|read attribute href
select p:nth-of-type(2) a|read attribute href
So I believe surgeon interprets the "a" as a quantifier expression.
This gives same error select p:nth-of-type(2) a {0,}|read attribute href
select p:nth-of-type(2) a {0,}|read attribute href
ref: https://www.w3schools.com/cssref/css_selectors.asp
elements inside
The text was updated successfully, but these errors were encountered:
You need to quote the selector that includes either spaces or quotes.
Alternatively, you can use subroutine aliases that do not require quoting selectors.
https://github.com/gajus/surgeon#built-in-subroutine-aliases
Sorry, something went wrong.
Thanks again. I guess I missed the quote in your first example. Sorry.
No branches or pull requests
This works
select p:nth-of-type(2)|select a|read attribute href
This gives error: Invalid quantifier expression
select p:nth-of-type(2) a|read attribute href
So I believe surgeon interprets the "a" as a quantifier expression.
This gives same error
select p:nth-of-type(2) a {0,}|read attribute href
ref: https://www.w3schools.com/cssref/css_selectors.asp
elements inside
The text was updated successfully, but these errors were encountered: