Skip to content

Add support for matchAll? #149

Description

@chtenb

Currently there seems to be no way to iterate over all matches including capturing groups: https://pursuit.purescript.org/packages/purescript-strings/4.0.1/docs/Data.String.Regex

However, javascript has a function which lets you do just this: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/matchAll

Can we expose this in the regex module?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs more infoThis issue needs more info before any action can be done.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions