Skip to content

RFE: swiper - add highlighting of regex matched/saved groups #1550

@ghost

Description

The regex builder has a really helpful feature where, as well as highlighting matches in the current buffer for the regex, if that regex contains saved groups (i.e. stuff between (...) which can be referenced in a replace string using \1 etc), those are also highlighted in the matches, in a different face to how the whole match is highlighted.

At the moment, swiper highlights fully matched strings, but gives no visual indication of what's matched in each saved group. It would be super nice if that could be added.

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