Skip to content

What to do with hyphenated words? #6

@dmnapolitano

Description

@dmnapolitano

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. 👍

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions