Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2007-08-13 05:31:37


Raffaele Romito wrote:
> Hi, I need to calculate, given a regular expression, the min length
> for a match.
> For example if I have as regexp ^HTTP.*, 4 is the min length required
> for a match.

It's not currently supported by Boost.Regex: not least 'cos you're the only
person to ask for it. It might be possible to implement it, if there's a
compelling use case though.

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