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 regexpp and add support for ES2025 duplicate named capturing groups #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ota-meshi
Copy link

This PR updates regexpp and add support for ES2025 duplicate named capturing groups.

See also ota-meshi/eslint-plugin-regexp#752, and eslint-community/regexpp#195

@@ -339,7 +339,6 @@ export function followPaths<S>(
parent.type === "CharacterClassRange" ||
parent.type === "ClassIntersection" ||
parent.type === "ClassSubtraction" ||
parent.type === "ExpressionCharacterClass" ||
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this because of a TS error. I think this is due to the type of regexpp being fixed. In fact, ExpressionCharacterClass never appears here.

@ota-meshi
Copy link
Author

I realized there were still some changes I needed to make.

@ota-meshi ota-meshi marked this pull request as draft June 29, 2024 08:45
@ota-meshi
Copy link
Author

I think maybe I could have fixed it.

@ota-meshi ota-meshi marked this pull request as ready for review June 29, 2024 08:59
@ota-meshi
Copy link
Author

@RunDevelopment Could you please review this when you have time?

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.

1 participant