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

Create default regex tests #6

Open
shepdl opened this issue Jul 20, 2020 · 0 comments
Open

Create default regex tests #6

shepdl opened this issue Jul 20, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@shepdl
Copy link
Owner

shepdl commented Jul 20, 2020

Create tests of default regex patterns for the application that would be useful users unfamiliar with regexes. Consider each regex by what it means to a human reader, not what the character pattern looks like. For example, "keep contractions together", not "word as a set of word characters plus single quotes."

Some examples:

  1. All unicode "word" characters
  2. Hyphenation-preserving regexes
  3. Contraction-preserving regexes

Acceptance tests:

  1. Set of patterns with meaningful names
  2. Comprehensive suite of tests for all regexes that builds a SpacePreservingLexer with each regex and tests several cases including edge cases.
@shepdl shepdl added the good first issue Good for newcomers label Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant