[Digikam-devel] [Bug 312332] New: Digikam don't save rename pattern when using regex

Philippe pmiossec at gmail.com
Sat Dec 29 11:58:46 GMT 2012


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

            Bug ID: 312332
           Summary: Digikam don't save rename pattern when using regex
    Classification: Unclassified
           Product: digikam
           Version: 2.8.0
          Hardware: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Advanced Rename
          Assignee: digikam-devel at kde.org
          Reporter: pmiossec at gmail.com

In the rename file dialog, when you use regex to modify a string, the pattern
is not saved in the history of pattern used.

It's due to the presence of commas ',' (ex: [dir]{replace:"^[0-9\\-]*_","",r})
because commas are the separator used to store in the digikam config file (see
section "[AdvancedRename Input]", key "Pattern History List=")

For exemple, if you try the pattern :
[date:"yyyy-MM-dd"]_[dir]{replace:"^[0-9\\-]*_","",r}_[date:"HH-mm-ss"]_###[f].[ext]
it will be never saved.

PS : I tried to play a little with modifying directly the config file and it
seems there is also a problem with the '\' char...

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list