Opened 9 years ago

#1325 new defect

Backreference substitution not working in Replace dialog

Reported by: FrDarryl Owned by:
Priority: minor Milestone:
Component: Search and Replace Version: 0.90
Keywords: Cc:


Trying to reformat some Euro date strings ( to sortable (yyyymmdd).

I start with buffer containing:

foo 10.20.2011 bar
foo 05.30.2010 bar

Do a Search->Replace

'''Find Text:('''\d{2})\.(\d{2})\.(\d{4})[^\d]
''tick'' '''Regular Expression
'''Replace Text:'''\3\2\1

After replacing (regexp matched twice but backreference syntax ignored):

foo \3\2\1bar
foo \3\2\1bar

It appears Scintilla is meant to support backreferences, e.g.,


Change History (0)

Note: See TracTickets for help on using tickets.