Note that Flags are grouped into one quote and argument.
word1 = ArrayCreate( "This", "is", "a", "collection", "of", "words" );
word2 = ArrayCreate( "This", "is", "also", "a", "collection", "of", "words" );
words = ArrayCreate(word1, word2 );
//x = Match(words, "{This, is, a, collection, of, words}", "y");
x = Match( ArrayGet( words, 1), ".*s.", "ry" );
y = Match( ArrayGet( words, 0), ".*s.*", "ry" );
output(x);
output( y );
output(words);
