Skip to content

I would like to have access to the matched pattern in the handler #3

@ckstettler

Description

@ckstettler

In my use case I would like to know which pattern was matched. Locally I extended the Handler type to also pass the pattern and I tweaked node to have a pattern field that contains the pattern to match.

Is this something that you would find useful to add? I would be happy to issue a PR if so.

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