-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
simon/i26 emoji helper functions #56
Conversation
What is this? Basically provides helper functions for emoji parsing, which allow us:
|
// region flags | ||
recognize(tuple(( | ||
complete::char('🏴'), | ||
many1(satisfy(|c| matches!(c, '\u{e0061}'..='\u{e007a}'))), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I guess a combination of many1
and satisfy
is used instead of take_while1
to recognize characters instead of a string. right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes probably (though it is too long ago, so I don't remember every detail of the pr)
currently fails on region flags
13a9955
to
1ff47c4
Compare
closes #26
TODO: