Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-04-06 05:32:05


> regex eParam("(.)=(\"?.*\"?)", regex::normal | regbase::icase);

The .* is greedy so it gobbles up all remaining input including spaces and
quotes.

How about:

(.)=((?:\"[^\"]*\")|(?:[^[:space:]]*))

John.


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