Skip to content

Update refa & co #568

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 6 commits into from
Sep 6, 2023
Merged

Update refa & co #568

merged 6 commits into from
Sep 6, 2023

Conversation

RunDevelopment
Copy link
Collaborator

This updates refa, regex-ast-analysis, and scslre.

There are a lot of changes in both refa and RAA because of the v flag, so fixing all errors will be fun... I also had to change the semantics of a few common functions in RAA. Noteably, is{Potentially,}{Empty,ZeroLength} and a few others now require a flags argument. (Since we can't assume that a single character class/set is a single character anymore, we have to evaluate the whole thing in some cases, and that requires flags.)

This PR is still a work in progress. Since some type errors are caused by the algorithm fundamentally assuming a single character, I will liberally use // @ts-expect-error -- FIXME for now.

@changeset-bot
Copy link

changeset-bot bot commented Sep 5, 2023

🦋 Changeset detected

Latest commit: fdf6d26

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-regexp Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@RunDevelopment RunDevelopment marked this pull request as ready for review September 5, 2023 18:00
Copy link
Owner

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for great work!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants