Skip to content

Create default regex tests #6

Description

@shepdl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions