# NOTE: untested /(\w+)= # key (?: # match either value: "([^"]+)" | # quoted string or... (\w+)) # non-quoted value /xg