Skip to content

Provide a way to replace #26

@EmileTrotignon

Description

@EmileTrotignon

I love this library, this really seems like the right way to do regexp.

However, I had a usecase where I needed to do a search-and-replace, and I found no way to do it. I had to ideas to build it, one being a not combinator to capture everything I don't need to replace, but it does not exists. I also did not find a way to get locations from a match, which would allow replacement.

Since it exists in Re, it would probably not be hard to construct.

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