#1 : 01/08-24 03:37 N
Posts: 7
|
In version 3.95 the replace method had a section for replacing the nth occurrence of a string/character to be replaced. For example you could do
Replace: a Replace with: b Occurrence: 1st And it would only replace the first 'a' it comes across. Was this accidentally removed in 4.0 or is it being removed from the replace method? |
#2 : 01/08-24 04:50 Delta Foxtrot
Posts: 323
|
Reply to #1:
If you haven't already, you might want to ask Kim Jensen directly; he's the one that can answer that. [email protected] |
#3 : 01/08-24 11:21 Kim Jensen
Administrator
Posts: 929 |
Reply to #1:
It turned out that this feature was difficult to port from version 3.95 to 4.0. That is why it was left out for now. I hope to add it back in, in the next couple of weeks. |
#4 : 01/08-24 11:49 Delta Foxtrot
Posts: 323
|
Reply to #3:
...and there you have it! :) Just to be clear, though, with a little regex knowledge it's not really necessary, especially when the [if] clause thingie works right. But even without it it's not that tough to write expressions to simulate the "Occurrence" field. |
#5 : 01/08-24 14:08 Kim Jensen
Administrator
Posts: 929 |
Reply to #4:
That is true. But I also want to make more complex configuration accessible to those who are not proficient in regular expressions. I think most people using regex, only use a minimal subset of functionality. Some of the features of Advanced Renamer are just an easy wrapper around a regex. |
#6 : 01/08-24 14:32 Delta Foxtrot
Posts: 323
|
Reply to #5:
Hi Kim, No, I absolutely agree, and it's great that people can get that functionality without having to blast through a bunch of technical stuff. I'm just pointing out to N, and anyone else who reads this, that there's almost always a way to do something in ARen even if that way doesn't seem all that approachable at first. Also, that's why I try to answer a lot of questions that aren't necessarily the *most* interesting questions in the world to me, because as people see some of the things that can be done they are more likely, I hope, to think a little more outside the box, dig a little deeper into the user guide, and maybe realize that there are almost always several ways to do just about anything that needs to be done with a filename. Now get back to work on 4.0! Just kidding, I have a pretty good idea how much work you are putting in, so you take a break whenever you need, ok? :) Best regards, DF |
#7 : 01/08-24 23:00 N
Posts: 7
|
Thanks for the replies! I'll look into using regex for now. I do have quite a lot of .aren presets I've made that use the occurrence feature so seeing it back in a future version would be great.
Other than that I'm loving 4.0, thanks for all your hard work :) |