Skip to content

Conversation

@alexanderadam
Copy link

@alexanderadam alexanderadam commented Oct 20, 2025

This PR adds the group behaviour as I understood it in #101.

Parentheses can be used to override the operator precedence in the usual way. Square brackets in an expression such as A[B] serve two roles: they act as an operator causing B to be evaluated once for each item in the value of A, and they act as parentheses enclosing the expression B.

https://www.w3.org/TR/xpath-31/#id-precedence-order

PS: I'm looking for a new adventure in case anybody is looking to hire or work with a Ruby/Rails/Crystal dev

> Parentheses can be used to override the operator precedence in the usual way. Square brackets in an expression such as A[B] serve two roles: they act as an operator causing B to be evaluated once for each item in the value of A, and they act as parentheses enclosing the expression B.

https://www.w3.org/TR/xpath-31/#id-precedence-order

refs teamcapybara#101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant