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 ability to check (or retrieve) aliases in an input #10

Open
mfridman opened this issue Oct 23, 2021 · 2 comments
Open

Add ability to check (or retrieve) aliases in an input #10

mfridman opened this issue Oct 23, 2021 · 2 comments

Comments

@mfridman
Copy link

Awesome package, thanks.

What do you think about adding a func Contains(input string) bool or func FindAll(input string) []string functions? Exposing how Parse finds aliases.

This would allow the caller to check for existence, or find all the aliases in a given input string.

@isereb
Copy link

isereb commented Nov 26, 2021

I was personally looking for something that would allow me to validate input to be text, numbers, punctuation, and EMOJI. It would be nice if I could get a regexp of all emojis somehow, or maybe rely on the contains method to implement something similar

@AkinAD
Copy link

AkinAD commented Jan 12, 2022

@enescakir any thoughts on this?

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

No branches or pull requests

3 participants