Boost logo

Boost Users :

Subject: Re: [Boost-users] [regex] Grouping behaviour
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-10-23 04:37:48


> 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

No it doesn't - not for me anyway.

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

Test case?

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