-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
and Char
patterns to StringScanner
#13806
Add String
and Char
patterns to StringScanner
#13806
Conversation
96ce4f5
to
573521f
Compare
2a68f3a
to
fbae4c5
Compare
@HertzDevil , Also I added simpler Rabin-Karp for short needles at #13820 |
The merge conflicts should be resolved |
fbae4c5
to
c3d13b6
Compare
@HertzDevil I've rebased branch. Additionally, I've deduplicate I think, |
Please do not rebase. It erases the review history. |
I think, Github is smart enough. |
@HertzDevil have you remarks or suggestions to current PR commits? |
No, seriously: Do not force push. |
@straight-shoota , ok, I will not next time. I'm sorry for doing it this time. I doubt I could restore branch in previous state. |
@HertzDevil , should I fix anything in this PR? |
Co-authored-by: Johannes Müller <[email protected]>
String
and Char
patterns to StringScanner
Co-authored-by: Johannes Müller <[email protected]>
Ruby since 2.6 added ability to use String as pattern for StringScanner. It is quite usable since it doesn't lead to regexp machinery.