Boost logo

Boost :

Subject: Re: [boost] boost regex recursive quesion
From: John Maddock (jz.maddock_at_[hidden])
Date: 2015-03-23 13:57:46


> a(?0)?
>
> This regex contains a recursive call (?0).
>
>
> It should match a string with any arbitrary length filled with 'a' characters.
> regex_match only returns true for "a" and "aa", but failed to match "aaa" and any string longer than three characters.
>
>
> Why?

It's a bug :(

Unfortunately the "obvious" fix breaks a heck of a lot of other stuff.

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk