Boost logo

Boost Users :

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


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.

it works wonderfully

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