I have a list of values separated by commas like this :
bDestruction=True,bEmissionAlarme=False,bActionReinit=False,sNatureData="Sur évènement provenant d'ALIS ou SGP - Lignes BJ, IJ ou GMO",sCodeMsgExpliControle="MSG-G00033_P_ALIM_ME"
I want to capture both parameter and value, so I did this regex :
(?:([^=]*))="?([^,]*)(?:"|,)?
But as it does work in most cases, he does not for the example provided, as the text after sNatureData contains a comma. So the regex consider that it is the end of a couple {parameter=value} and throw an error.
What can be done ? Thanks in advance.