-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate Applications of deeper RegExp analysis #525
Comments
@RReverser wrote:
|
Closed
Performance optimizations using the first charCode to filter out irrelevant patterns |
Issues were open for each subtask. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems more and more issues that can could be better resolved if Chevrotain could
perform deep analysis of RegExp patterns.
Identifying patterns that could contain line terminators automatically instead of forcing users
to specify those explicitly using the line_breaks flag, see details.
Correctly identifying usage of (disallowed) start/end anchors in regExps, see details.
Possible performance improvements by compiling simple RegExps to state machines using
CharCodeAt.
Possible performance optimization to create a large switch case which tests the current charCode
to reduce the number of possible regExps to be checked.
The text was updated successfully, but these errors were encountered: