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

What to do with hyphenated words? #6

Open
dmnapolitano opened this issue Sep 25, 2019 · 0 comments
Open

What to do with hyphenated words? #6

dmnapolitano opened this issue Sep 25, 2019 · 0 comments
Assignees
Milestone

Comments

@dmnapolitano
Copy link
Collaborator

Currently, using match.match("I really like time-travel!", "time") will return a match on the "time" portion of "time-travel". I can see applications where this is useful and also where this is terrible lol. Therefore it should probably be optional whether or not to match on portions of hyphenated words or to treat hyphenated words as one word. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant