in reply to Repeating regex assign to a list

You need to use parentheses in your regexes if you want to capture parts of the input string.

Update: Oops, sorry, I misread your post, you do have some parens. But you need tell us exactly what you want to capture, an example of the input and expected output would be great. The .* greedy quantifier after the TAG= part is quite suspicious.