Skip to content

Functional notation? #2

Description

@littledan

Pre-allocating an additional object for each RegExp match, when existing code does not use it, is likely to have some performance cost. Would it be OK to instead have an .offset() method (or start and end methods) on match objects, or is this too unergonomic?

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