where only keyword and value are required, and there are zero or more optional parameters.
So far all I've been able to come up with is
/^(\w+)\s*=\s*(\w+)([,[\s\w]*]*)$/
The above regex works, but it seems like I should be able to have $3 return without commas in it. Is there a way to do this w/out resorting to using something like
join(' ', split(/,/, $3)) to process the results of the regex?