Changes between Version 20 and Version 22 of Ticket #2327
- Timestamp:
- 10/27/10 11:09:17 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2327 – Description
v20 v22 1 1 It's not possible to rename a file to something having question mark. Literal ? is being replaced with entire pattern just like it was * (an asterisk), despite of documentation saying nothing about ? in target pattern: 2 2 3 "In the target mask only the '*' and '\<digit>' wildcards are allowed" 4 3 5 One more funny effect of this issue is duplication of names having single '?': F6, enter 4 6 However it's getting more serious when source file has multiple '?'s: F6, enter -> segfault. 5 7 (for the above to happen question marks must not be preceded by *). 8 6 9 The source of this problem is treating ? as * (and not escaping it in default target pattern). 10 7 11 Escaping itself is buggy too: \? or \* are translated to consecutive \1, \2, \3, etc. 12 8 13 Everyting with shell patterns on, as disabling them makes rename impossible, but that's for next ticket. 14 9 15 This ticket may be duplicate, I remembering chasing this issue some time ago but can't find it in trac now, so sorry if it's already reported.