id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2952	File rename handles zero-length substitutions incorrectly	ply	andrew_b	"1. Problem

Suppose you want to replace a substring in some file names with another, so you do a File Rename operation with source pattern:

*OLDSTRING*

and target pattern:

\1NEWSTRING\2

If OLDSTRING occurs inside a filename, it is replaced correctly, but if at the beginning or end of the filename, the corresponding zero-length wildcard match is replaced by literal \1 or \2, respectively.

2. Expected

Wildcards that match a zero-length substring should be substituted with an empty string.
"	defect	closed	major	4.8.14	mc-search	master	fixed					merged	committed-master
