metormaon / flue

MIT License
1 stars 0 forks source link

Add custom information to ExPath to avoid repeating discovery when using a path #27

Closed metormaon closed 3 years ago

yossigil commented 3 years ago

not sure what you mean here

metormaon commented 3 years ago

Say I'm looking for an expression that looks like that:

A & {"," & A}

And my goal is to replace it with

+{A} / ","

The searched-for pattern may hide in a more complex expression:

B & A & {"," & A} & D

I want my ExPath to point to the A & {"," & A} part. Currently, the ExPath can only point to the entire Then clause: B & A & {"," & A} & D

So I need ExPath to be able to remember things like: I found the pattern in children 1 to 2.

I can provide more complicated examples that show why this extra information should be very flexible.

yossigil commented 3 years ago

Seems you really hit the right road