Feature request: advanced regex patterns

Bug #549259 reported by John Stebbins
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyRenamer
New
Undecided
Unassigned

Bug Description

I love the program. It is very useful to me... after I comment out the code that strips out characters that are important for creating regex patterns. It would be nice if there were a checkbox that switched between your simple user friendly pattern syntax to the more powerful full regex syntax. When the checkbox is checked, it would just bypass those few lines of code in pyrenamer_filefuncs.py that replaces [, ], (, ), ?, and '.'.

This is usefull for doing mass renamings when many files have similar names and the mapping to new names has subtle dependencies. For example substring:
 "S1" -> "s01" pattern "S([0-9])" replacement "s0{1}"
vs.
"S10" -> "s10" pattern "S([0-9][0-9]) replacement "s{1}"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.