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 String#matches_full? #13968

Merged

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Nov 9, 2023

This is a reissue of #9312 with a new implementation based on the new potential from PCRE2, Regex::MatchData::ENDANCHORED.
Also adds #match_full! as an equivalent to #match! which was introduced in the mean time.

Closes #9312
Closes #9309

@HertzDevil
Copy link
Contributor

Looks like some CI jobs still use PCRE and these new methods will unconditionally raise

@straight-shoota straight-shoota added this to the 1.11.0 milestone Dec 1, 2023
@straight-shoota straight-shoota merged commit 123de81 into crystal-lang:master Dec 2, 2023
53 of 55 checks passed
Blacksmoke16 pushed a commit to Blacksmoke16/crystal that referenced this pull request Dec 11, 2023
@straight-shoota straight-shoota deleted the feat/string-matches_full branch January 13, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants