regex reuse

Features wanted...
Post Reply
bruceriv
Posts: 2
Joined: 11 Sep 2013 00:37

regex reuse

Post 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.

Trasd
Posts: 147
Joined: 19 Oct 2011 15:45

Re: regex reuse

Post 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?
Trasd

"Any sufficiently advanced technology is indistinguishable from magic." A.C.C.

"I'll tell you this, no eternal reward will forgive us now for wasting the dawn." J. M.

bruceriv
Posts: 2
Joined: 11 Sep 2013 00:37

Re: regex reuse

Post 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.

Trasd
Posts: 147
Joined: 19 Oct 2011 15:45

Re: regex reuse

Post 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.
Trasd

"Any sufficiently advanced technology is indistinguishable from magic." A.C.C.

"I'll tell you this, no eternal reward will forgive us now for wasting the dawn." J. M.

Post Reply