[boost-regex] 1.47.0 regexp_search with match_partial does not return 'what'

18 Sep
18 Sep
5:34 p.m.
New subject: [boost-regex] 1.47.0 regexp_search with match_partial does not return 'what'
But i need the correct positions for a buffer handling.
Please try updating your Boost version, this works for me with the last (1.54) release, adding: std::cout << "what[0] = " << std::string(what[0].first, what[0].second) << std::endl; std::cout << "location = " << what.prefix().second - what.prefix().first << " length = " << what[0].second - what[0].first << std::endl; Produces: what[0] = <my:meta location = 12 length = 8 HTH, John.
4281
Age (days ago)
4281
Last active (days ago)
1 comments
2 participants
participants (2)
-
Frank Bergemann
-
John Maddock