Skip to content

🐛 Add missing lookahead_case_insensitive_string #144

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

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Apr 16, 2023

This adds lookahead_{token}! to def_token_matchers, as a lookahead version of match, returning the value without consuming the token.

lookahead_case_insensitive_string! is a fallback for the regexp in body_type_1part. This fallback should be invoked only very rarely.

Its definition was accidentally lost at some point during a rebase of #113.

This adds `lookahead_{token}!` to `def_token_matchers`, as a lookahead
version of match, returning the value without consuming the token.

`lookahead_case_insensitive_string!` is a fallback for the regexp in
`body_type_1part`.  This fallback should be invoked nnly very rarely.

Its definition was lost when rebasing.
@nevans nevans force-pushed the add-missing-lookahead_case_insensitive_string branch from 855c29c to 07bfed0 Compare April 16, 2023 22:21
@nevans nevans requested a review from shugo April 17, 2023 13:38
@nevans nevans merged commit dfb5174 into master Apr 17, 2023
@nevans nevans deleted the add-missing-lookahead_case_insensitive_string branch April 17, 2023 13:38
@nevans nevans changed the title 🐛 Add missing lookahead_case_insensitive_string! 🐛 Add missing lookahead_case_insensitive_string Apr 17, 2023
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.

1 participant