So you just need to check if two slots have the same result to see if they match, using a condition.
Well, it means you can access the result of each slot with this expression:įor the result of the first slot: Variable(result.slot_1)įor the result of the second slot: Variable(result.slot_2)įor the result of the third slot: Variable(result.slot_3) It stills don’t evaluates sub-matches (on purpose) but it has a small and useful change: it copies the results stored in the ‘value’ object variable of each slot object to a more accesible variable in the result data structure. Here is a super-duper special version of the project for you: Not exactly… this will be a long explanation:
Does this also match 2 of the same symbols next to each other and on either side of each other?