Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-05-01 05:15:09

Lorenzo Bettini wrote:
> Hi
> is there a way to specify open and closed parenthesis with a
> regular expression syntax? For instance, if I'd want to specify a
> single regular expression that matches both (foo) and [foo] and {foo}?

Probably not what you wanted, but:


sort of does what you want, but if you want to ensure that the brackets
match up, then it's down to:



Boost list run by bdawes at, gregod at, cpdaniel at, john at