Replace Method Bug - Occurence - Version 4.0 beta
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?
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?
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]
If you haven't already, you might want to ask Kim Jensen directly; he's the one that can answer that.
[email protected]
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.
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.
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.
...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.
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.
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.
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
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
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 :)
Other than that I'm loving 4.0, thanks for all your hard work :)