Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-04-25 06:17:28


Lorenzo Bettini wrote:
> Hi
>
> is there any plan to support more than 9 back references in the regex
> library?

You can have as many marked sub-expressions as you want, and refer to them
in the match_results structure once you have a match. What you can't do at
present is have a true back-reference say \12 in your expression. This is
basically a problem with the regex syntax, so if you know of a good syntax
extension that's already in use then it would trivial to support this.

John.


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