You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My situation was easy to work around, so this is not something that's blocking me. I can have a look at it later, if you are interested in a PR to fix the problem.
Activity
michaelficarra commentedon Jun 3, 2018
Yeah, the regexp parsing leaves a bit to be desired:
esquery/grammar.pegjs
Line 83 in 1853a6f
We should enhance it to at least take into account escape sequences and character classes.
cartant commentedon Jun 3, 2018
My situation was easy to work around, so this is not something that's blocking me. I can have a look at it later, if you are interested in a PR to fix the problem.
michaelficarra commentedon Jun 3, 2018
Sure, send one over.
toefraz commentedon Aug 23, 2018
As a workaround you can use the unicode code for
/in place of the actual character:[value=/foo\\u002Fbar/]colinta commentedon Feb 9, 2024
@toefraz I "optimized" your code. 🤣
[value=/foo\\x2Fbar/](I am kidding, but also I am flexing my knowledge of obscure JS string parsing)pke commentedon Jun 27, 2024
Will this ever be fixed?
refactor(#130): address review — allowlist third-party, run real sele…
refactor(#130): address review — allowlist third-party, run real sele…