6 Apr
2006
6 Apr
'06
11:14 a.m.
On Thu, 06 Apr 2006 10:32:05 +0100, John Maddock wrote:
regex eParam("(.)=(\"?.*\"?)", regex::normal | regbase::icase);
The .* is greedy so it gobbles up all remaining input including spaces and quotes.
How about:
(.)=((?:\"[^\"]*\")|(?:[^[:space:]]*))
John.
Hi, I just noticed that I posted the wrong regex. My latest regex was: (.)=(?(\")[^\"]*|[\\S]*) I'll give yours a try. Thanks