Boost logo

Boost Users :

Subject: Re: [Boost-users] [regex] why partial match / early break ?
From: U.Mutlu (for-gmane_at_[hidden])
Date: 2011-11-01 11:35:36


Júlio Hoffimann wrote, On 2011-11-01 15:59:
> I didn't read your code, but search for Greedy vs Nongreedy matching and
> you'll get an answer.

I'm using perl mode. Greedy is IMHO generally default in regex.
One can disable it with '?', but it wasn't used in the example,
therefore I wonder why it stops early.


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