Opened 14 years ago

Closed 13 years ago

#2802 closed Feature Requests (fixed)

regex_replace with custom formatter

Reported by: boost@… Owned by: John Maddock
Milestone: Boost 1.39.0 Component: regex
Version: Boost 1.38.0 Severity: Optimization
Keywords: regex_replace Cc:

Description

Add an overload to regex_replace that accepts a functor, which will be called with the matched sequence (range, iterators?) and returns the string (range, tuple of iterators?) for substitution.

As per boost users list thread discussion on 25/26 Feb 2009.

Change History (4)

comment:1 by John Maddock, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in Trunk.

comment:2 by anonymous, 13 years ago

Resolution: fixed
Status: closedreopened

comment:3 by anonymous, 13 years ago

Why has this been reopened with no comment?

comment:4 by John Maddock, 13 years ago

Resolution: fixed
Status: reopenedclosed

And... since this code was released with 1.42 I'm closing again.

Note: See TracTickets for help on using tickets.