Skip to content

Implement $:n and $;n #78

@m-ender

Description

@m-ender

The :; modifiers are currently only available for entire-match elements, not for numbered and named groups. A potentially very useful feature would be to generate the cumulative capture count (from the left or right) for that group, including the current match. However, that needs some changes in the code base, since this should generate a number, even if the given group doesn't exist in the current match (or separator).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions