Ticket #5472 (closed Bugs: fixed)
u32regex_token_iterator broken for int submatch and vector<int> submatch
|Reported by:||Rick Berge <rfdb@…>||Owned by:||johnmaddock|
|Milestone:||To Be Determined||Component:||regex|
In u32regex_token_iterator.hpp, a couple of the make_u32regex_token_iterator templates do not pass submatch along to the underlying constructor.
In particular, the int and vector<int> flavors are broken, so you can't get simultaneous matches/nonmatches.
Since there is no version of the constructor omitting submatch, the bug may be more insidious for certain values of match_flag_type being auto type converted!
I noticed this in 1.45.0, and still broken in trunk.