Boost logo

Boost Users :

From: Jean-Sebastien Vachon (js.vachon_at_[hidden])
Date: 2006-04-06 07:14:25


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net