/src/main/java/org/htmlunit/html/xpath/XPathAdapter.java
if ( state == STATE.state) {
if ( state == STATE.ATTRIB ) {
else if (state == STATE.SINGLE_QUOTED) { state = STATE.DEFAULT; } break; case '[': case '(': <extra_id_0> state = STATE.DEFAULT; } insideBrackets++; break; case ']': case ')':