Page MenuHomePhabricator

Search & replace: Allow replacing with references
Closed, ResolvedPublic

Description

It would be nice, if you could use \1, \2, etc. for references in the "Replace with" field in the search & replace dialog, when you entered a regular expression with subexpressions.


Version: unspecified
Severity: enhancement

Details

Reference
bz24326

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:04 PM
bzimport set Reference to bz24326.

(In reply to comment #0)

It would be nice, if you could use \1, \2, etc. for references in the "Replace with" field

Or $1, $2.

(In reply to comment #1)

(In reply to comment #0)

It would be nice, if you could use \1, \2, etc. for references in the "Replace with" field

Or $1, $2.

This used to work before but broke at some point. Fixed in r69600.

  • Bug 24567 has been marked as a duplicate of this bug. ***
  • Bug 24526 has been marked as a duplicate of this bug. ***