Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Regexp subexpression replacement doesn't work, throws exception #5275

Description

@njx
  1. In Getting Started, Edit > Replace
  2. Enter /<([^>]+)>/ as the query and hit enter
  3. Replace with [$1]
  4. Click Yes

Result: Find bar disappears and there's an exception in the console.
Expected: Either we should properly handle the subexpression substitution, or we should just replace with "$1" and continue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions