So I’m using the Match Pattern module in two occasions:
Extract the item name
Extract the quantity of an item
Both of them seem to work just fine when performed separately, however, when placing them one after another. The second module (quantity one) returns two operations with the exact same result.
And on top of that - it throws me a “Fallback Match” - but the values are correct. I don’t have a clue of why is that happening.
Output module returns 2 bundles - one for each Match. The fallback match is the name of the key for the look ahead. And the index (i) is simply the occurrence number.
It generates 2 bundles which in turn generates 2 operations. The input is not a bundle but text. The parser can generate between 0 and many bundles — that’s the whole point of the parser. You can aggregate the results of the parser with an aggregator (like an array aggregator)
Hi @alex.newpath, thank you for your reply. Appreciate it!
I’m still a bit confused, even with your explanation because I believe the second Regex Match Pattern should only consumed 1 operation and return two output modules. I’m processing the same information.
Both of them are pointing to the exact same Spreadsheet. If I’m performing them individually, it works, but when including a module in between it consumes 2 operations. Maybe I’m missing something.
The parser returns the number of bundles for each search. Subsequent modules (bubbles) will execute each bundle at a time. If you want you can aggregate all parser results using an array aggregator into one bundle with an array of all results.