esquery
esquery copied to clipboard
Attribute value doesn't support empty array ([])
I can't do something like [attr=[]] and expect attr to be equal to an empty array. Instead, esquery throws a syntax error:
Expected " ", "'", ".", "/", "\"", "type(", [0-9] or [^ [\],():#!=><~+.] but "[" found.
What about [attr.length=0]. Does it work for you?