Page 1 of 1
regex reuse
Posted: 11 Sep 2013 00:44
by bruceriv
I've tried a couple of times to see if the reuse string part of regex works in XYplorer but have been unable to find a way to make it work. If it is possible, could you point me in the right direction. Otherwise I'd like to add it as a wish.
Re: regex reuse
Posted: 11 Sep 2013 03:31
by Trasd
bruceriv wrote:I've tried a couple of times to see if the reuse string part of regex works in XYplorer but have been unable to find a way to make it work. If it is possible, could you point me in the right direction. Otherwise I'd like to add it as a wish.
Are you talking about backreferences? Check
here.
I'm not on my desktop, could you let me know if this works for you?
Re: regex reuse
Posted: 12 Sep 2013 00:52
by bruceriv
Trasd, thanks so much for the prompt response. Yes that is exactly what I was looking for. That will make the regex replace so much more useful to me.
ps One of my favorite quotes in your sig. Arthur C Clarke I think. Real wisdom.
Re: regex reuse
Posted: 12 Sep 2013 01:11
by Trasd
bruceriv wrote:Trasd, thanks so much for the prompt response. Yes that is exactly what I was looking for. That will make the regex replace so much more useful to me.
ps One of my favorite quotes in your sig. Arthur C Clarke I think. Real wisdom.
The quote makes so much sense to me!
I was wondering about backreferences myself, I just never got to the point I needed it so bad I looked it up. Good to know because I probably would have fought with it for an hour before I finally did look into it. When I saw your question, I did a quick search - that's why I wanted to know if it worked for you because eventually, I will need that ability too.