Opened 10 years ago

Closed 10 years ago

#2269 closed Library Submissions (fixed)

Regex marked parenthesis fetching

Reported by: mickael@… Owned by: John Maddock
Milestone: Boost 1.37.0 Component: regex
Version: Boost Development Trunk Severity: Cosmetic
Keywords: mark parenthesis Cc:



I need to retrieve mark content from de regex_basic. So I modified a bit the re_brace to remain the position of braces. So I don't now if I broke something, I just test with the application I develop against Boost.Regex.

I wait for comments before continue (I don't now if they are performance pitfall you wouldn't allow).

I did the diff with "svn diff" in ./boost-trunk/boost/regex/v4 repertory.

Attachments (2)

regex.patch (4.3 KB) - added by mickael@… 10 years ago.
regex.2.patch (4.2 KB) - added by mickael@… 10 years ago.
I discovered std::advance

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by mickael@…

Attachment: regex.patch added

Changed 10 years ago by mickael@…

Attachment: regex.2.patch added

I discovered std::advance

comment:1 Changed 10 years ago by John Maddock

Resolution: fixed
Status: newclosed

(In [50370]) Fix gcc warnings from ICU wrappers. Add optional support for marked sub-expression location information. Add support for ${n} in format replacement text. Fixes #2556. Fixes #2269. Fixes #2514.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.