guybedford / es-module-lexer

Low-overhead lexer dedicated to ES module parsing for fast analysis
MIT License
912 stars 47 forks source link

Fix "of" regex case #171

Closed guybedford closed 3 months ago

guybedford commented 3 months ago

This fixes the case of a regex after an of keyword not being included in the allowed keywords for a regex over division ambiguity resolution.