25 Feb
2009
25 Feb
'09
7:33 p.m.
John Maddock wrote:
Eric Niebler wrote:
You can read about it here: http://tinyurl.com/bd6c3f. I like this interface because it gives the formatter object lots of context and makes formatting potentially very efficient.
It would be great if Boost.Regex and Boost.Xpressive settled on a common callback interface for regex_replace().
I think the interface you have there is very good - I'd always assumed that the callback would accept a match_results not a string - as you say the performance would be just so much better...
Great! But if you adopt this interface, folks will have 1 less reason to use xpressive. So I get to keep formatter expressions. ;-) -- Eric Niebler BoostPro Computing http://www.boostpro.com