Boost logo

Boost Users :

Subject: [Boost-users] [regex] Grouping behaviour
From: U.Mutlu (for-gmane_at_[hidden])
Date: 2011-10-22 19:35:16


Hi,
I need to split a regex pattern into two groups like from this
   blafoo
to
   (bla)(foo)

But the second variant matches also input like this one:
   blaABCfoo

There is no .* between the groups, so I wonder why it still matches.
How to fix this?


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