C10 - initial
|Type||Corrade progressive sift|
match sift will match the whole returned list against a provided regular expression.
| ||a string representing a regular expression||return all subsequent matching subgroups (except the first which represents the entire string)||
The following sift when added to a command will skip the first element and then return all subsequent subgroups matching the expression
Item Cost ([0-9]+):
"sift", wasListToCSV([ "skip", 1, "match", "Item Cost ([0-9]+)" ]),
Given the input
data=1,Item Cost 100,2,Item Cost 500,3,Item Cost 10,4,Item Cost 15
the expected output is:
matchsift sparingly. Extracting cells from Corrade's CSV output can usually be performed more elegantly using the other available sifts that are implicitly compatible with CSV.