id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4020,regex::match_results::format functor cannot use member variables,Keith MacDonald ,John Maddock,"regex::match_results::format makes a copy of its functor argument. This is restrictive, because it prevents the functor from managing its state using member variables. Is that intentional? The attached VC++ 2008 code demonstrates the problem. When it uses a member variable to maintain a count, its output is: (1)The (1)quick (1)brown (1)fox (1)jumped (1)over (1)the (1)lazy (1)dog Making the counter global instead gives the correct output: (1)The (2)quick (3)brown (4)fox (5)jumped (6)over (7)the (8)lazy (9)dog ",Support Requests,closed,Boost 1.43.0,regex,Boost 1.42.0,Problem,fixed,regex functor,