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
Looks like the addition to the Prisma grammar is meant to be treated as a literal text search (since */ is not a valid regex pattern). Should the JS engine be handling this block as literal text searches rather than passing it to the regex engine as regex patterns?
Reproduction
pnpm run report-engine-js
Contributes
I am willing to submit a PR to fix this issue
I am willing to submit a PR with failing tests
The text was updated successfully, but these errors were encountered:
Validations
Describe the bug
Prisma just regressed with the JS engine (moving from supported to unsupported), and is throwing "Error: Quantifier requires a repeatable token" via the
report-engine-js
script. Looks like the cause is this recent addition from commit shikijs/textmate-grammars-themes@f500671 (upstream PR: prisma/language-tools#1806).Looks like the addition to the Prisma grammar is meant to be treated as a literal text search (since
*/
is not a valid regex pattern). Should the JS engine be handling this block as literal text searches rather than passing it to the regex engine as regex patterns?Reproduction
pnpm run report-engine-js
Contributes
The text was updated successfully, but these errors were encountered: