https://bugs.kde.org/show_bug.cgi?id=424540

            Bug ID: 424540
           Summary: Option "regular expression" does not work
           Product: digikam
           Version: 6.4.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: AdvancedRename
          Assignee: digikam-bugs-n...@kde.org
          Reporter: antonio.ang...@protonmail.com
  Target Milestone: ---

SUMMARY
In rename panel, backslash is not accepted. For this reason I cannot edit a
rename rule such as:
[file]{replace:"m\d\d","new",r}

Other rename rules work fine, including other replacement with regular
expressions not using backslash, such as:
[file]{replace:"[a-z]","new",r}

STEPS TO REPRODUCE
1. In miniature mode, select two or more images.
2. Right-click, then Rename
3. In the Rename panel, edit a rename rule with regular expression, such as 
[file]{replace:"m\d\d","new",r}

OBSERVED RESULT
The rename rule is edited as [file]{replace:"mdd","new",r}

EXPECTED RESULT
The rename rule is edited as [file]{replace:"mdd","new",r}

SOFTWARE/OS VERSIONS
Linux: Ubuntu 18.04.4 LTS
kernel: Linux 4.15.0-112-generic x86_64

ADDITIONAL INFORMATION
notebook HP Laptop 15-da0986nl 
with keyboard layout IT

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

Reply via email to