Skip to content

Cannot use matched groups in patterns #14

@P403n1x87

Description

@P403n1x87

When I do

toRegex = makeRegexOpts defaultCompOpt defaultExecOpt repeatLang = toRegex [r|([a-zA-Z]+) \1|] match repeatLang "catch the the typo" :: Bool

I get False.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions