Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Include offsets in return value #13

@SebastianZ

Description

@SebastianZ

A disadvantage of String.prototype.match() and RegExp.prototype.exec() is also that you don't get the offsets of the captured groups.

Therefore I've created https://github.com/SebastianZ/es-proposal-advanced-regexp-match-info yesterday. Though I think it might be worth to combine both to avoid another regexp function doing a similar thing.

Sebastian

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