Closed mpec-vrtalbot closed 1 year ago
@mpec-vrtalbot In your filename you have a space before second underscore. So it's working corectly. You need to search for cepac_run _
instead.
You are right, I'm sorry for bothering you - it's easier to see in the example I replicated for you, but in the original version the white space was very hard to see. Thanks for your prompt response, and for the great PowerRename tool.
Microsoft PowerToys version
0.72.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
PowerRename
Steps to reproduce
This morning I tried to rename several files which had the prefix "cepac_run_Neg1WM" in them and different file extensions. I was not using Regular Expressions. I was surprised that PowerRename could not match "cepac_run_Neg1WM." Eventually I figured out that I could rename the files in two stages: first by matching "_Neg1WM" and then by matching "cepac_run." However this took some time for me to figure out and I'm not sure what was going on. Also, I noticed you have a series of "case" formatting settings but none allow users to use camelCase (alternate lower and upper case) or to preserve the original case.
✔️ Expected Behavior
I was expecting my filenames, which contained two underscores but no spaces, to be matched correctly
❌ Actual Behavior
I had to break the filenames in half so that there was only one underscore in each substring in order to get matches and rename my files. See screenshots below.
Other Software
No response