Skip to content

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!

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.

3 participants