Skip to content
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

Update to regexp-ast-analysis@0.2.2 #228

Merged
merged 1 commit into from Jun 4, 2021

Conversation

RunDevelopment
Copy link
Collaborator

While working on #214, I noticed that I could drastically simplify the code if only getFirstCharAfter was able to properly handle word boundary assertions. So I added that.

regexp-ast-analysis now supports word boundary assertions properly in all getFirst*Char* functions.

This will help me implement #214 but it also immediately improves our existing rules that use the getFirst*Char* functions. Right now, these are no-useless-assertions, no-useless-lazy, prefer-character-class, and prefer-predefined-assertion.


regexp-ast-analysis@0.2.1 added support for the d flag, so this update also works towards #217.

@ota-meshi ota-meshi merged commit 0eeddf7 into master Jun 4, 2021
@ota-meshi ota-meshi deleted the deps-regexp-ast-analysis@0.2.2 branch June 4, 2021 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants