This is my rule:
name: foo
pattern: 'β¦ π1 β¦ π1, π2 β¦ π2 β§'
result: 'β¦ x β¦ "yes!" β§'
Here, none of the substitutions are used in the result. However, I need to invent names for them, like π1 and π2.
Would be more convenient to use π? (or π*), which means π whatever. It's uniquely matched, but not used in the result.
Maybe, for the sake of brevity, we may agree that π (without index) means π whatever. If index is specified, it's a specific match, possibly used in the result.