Hi Folks - Im not quite sure if this is possible, so I turn to you.
I would like to find a regex that will pick out all commas that fall outside quotesets.
For example:
'foo' => 'bar',
'foofoo' => 'bar,bar'
this would pick out the single comma on line 1, after "'bar',"
I don't really care about single vs double quotes.
Has anyone got any thoughts? I feel like this should be possible with readaheads, but my regex fu is too weak.