Bug ID: 391291
           Summary: Part of filename function does not count special
           Product: krename
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
  Target Milestone: ---

Created attachment 111136
Example "part of filename" screenshot

Using the part-of-filename function in KRename (e.g. [$1;5] or [$1-[length]])
does not count special characters like '&', '%', '#' and shortens the result by
the number of these. If a special character is at the end of the filename-part
'\' is inserted.

[$2-[length]] "1234#6789.txt" -> "234#678.txt" (expected:
"234#6789.txt")[$2-[length]] "12&&567.txt" -> "2&&5.txt" (expected:
[$2;3] "123%56.txt" -> "23\.txt" (expected: "23%.txt")

Tested with KRename 4.0.9 (Kubuntu 17.10 packages) and 5.0.60 (git master).

You are receiving this mail because:
You are watching all bug changes.

Reply via email to