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?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at