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

Add Regexp.linear_time? #6901

Merged
merged 5 commits into from Dec 14, 2022
Merged

Add Regexp.linear_time? #6901

merged 5 commits into from Dec 14, 2022

Conversation

makenowjust
Copy link
Contributor

Add a new method Regexp.linear_time? to check if matching against a given regexp can be completed in linear time by the optimization introduced in #6486.

@makenowjust
Copy link
Contributor Author

CI has fault on MinGW (UCRT64). I'm not sure this failure is related to this PR. Should I re-run this job?

@hsbt
Copy link
Member

hsbt commented Dec 13, 2022

Should I re-run this job?

👍 I re-run it. But MinGW environment sometimes failure with unrelated changes. We can merge PR without passing MinGW if it randomly failed again and again.

re.c Show resolved Hide resolved
@makenowjust makenowjust merged commit fbedadb into ruby:master Dec 14, 2022
@makenowjust makenowjust deleted the linear-time-p branch December 14, 2022 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants