So i have this regex:
and i need have a string like:
foo=bar,pine=apple,tree,bar=bie or foo=bar,pine=apple,tree or pine=apple,tree
the regex works for cases where i only have 1 value. but since we have comma's in the list of values for the key. the regex just craps out and my code does half of what i want it to do but doesn't get the 2nd value.
How do i fix my regex to take both values regardless of where in the string it is? alone, between 2 others, at the end.
i tried some stuff but couldn't figure it out.
In this case, it matches the one where it's in the middle but it fails on the others because = does not exist.
Matches too bar,pine and tree,bar for example
This seems to work maybe....
if i use quotes for multi values..