What to do with hyphenated words?

Open
#6 0 comments 0 reactions 1 assignee View on GitHub

@dmnapolitano is already working on this.

Since Sep 25, 2019.

Assessment

This issue has not been assessed yet.

Description

enhancement question

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

Dominant language
Python
Stars
20
Forks
5
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EducationalTestingService/match

All issues in EducationalTestingService/match

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.