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
{{ message }}
Repository navigation
Minor bug in JavaScript lexer; failing to recognize numbers #789
According to Python manual, \w matches [a-zA-Z0-9_], so a number literal of some small positive integer, e.g., 42, will always be recognized as a "name", not a number. This probably does not affect the result, but is a potential source of error when refactoring.
changed the title [-]Minor bug in JavaScript lexer fails to recognize numbers[/-][+]Minor bug in JavaScript lexer; failing to recognize numbers[/+]on Jun 6, 2021
Activity
[-]Minor bug in JavaScript lexer fails to recognize numbers[/-][+]Minor bug in JavaScript lexer; failing to recognize numbers[/+]nightcityblade commentedon Aug 12, 2026
Hi, I'd like to work on this. I'll submit a PR shortly.