|
Boost Users : |
From: Pete Forman (pete.forman_at_[hidden])
Date: 2007-05-01 05:26:14
Roger Leigh <rleigh_at_[hidden]> writes:
> I expect both regular expressions here to match with the value
> string.
The result of regex_match is true only if the expression matches the
whole of the input sequence. If you want to search for an expression
somewhere within the sequence then use regex_search. If you want to
match a prefix of the character string then use regex_search with the
flag match_continuous set.
-- Pete Forman -./\.- Disclaimer: This post is originated WesternGeco -./\.- by myself and does not represent pete.forman_at_[hidden] -./\.- the opinion of Schlumberger or http://petef.port5.com -./\.- WesternGeco.
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