From: John Maddock (john_at_[hidden])
Date: 2007-08-01 11:42:59
Lorenzo Bettini wrote:
> Thus I was wondering: which is the actual algorithm used by
> regex_search? Does it take into consideration other things beside the
> biggest length?
It depends whether it's a Perl regex or a POSIX regex. Perl matching rules
are documented here:
http://www.boost.org/libs/regex/doc/syntax_perl.html#what and the
Leftmost-Longest rule used by POSIX regexes is documented here:
Does this give you the information you require?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk