Skip to content

Simplify the regular expression for FluentRe.match('a').optional().possessive() #16

@numeralnathan

Description

@numeralnathan

Let's say I have the following code:

FluentRe.
   match('a').
   optional().
   possessive();

Currently, it makes this regular expression: (?:\Q$\E)?+. Please simplify to \$?+.

This will make it easier for humans to read the regular expression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions