Modify

Opened 10 years ago

Closed 9 years ago

#1627 closed Feature Requests (fixed)

Add a grep filter

Reported by: Jonathan Turkanis Owned by: Jonathan Turkanis
Milestone: Boost 1.36.0 Component: iostreams
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description


Attachments (3)

grep.hpp (2.8 KB) - added by Jonathan Turkanis 10 years ago.
submission by emreturkay@…
grep.2.hpp (2.8 KB) - added by Emre Turkay <emreturkay@…> 10 years ago.
The one with the workaround for VC.
grep_filter_driver.cpp (788 bytes) - added by Emre Turkay <emreturkay@…> 10 years ago.
A test code for the grep_filter.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by Jonathan Turkanis

Attachment: grep.hpp added

submission by emreturkay@…

Changed 10 years ago by Emre Turkay <emreturkay@…>

Attachment: grep.2.hpp added

The one with the workaround for VC.

Changed 10 years ago by Emre Turkay <emreturkay@…>

Attachment: grep_filter_driver.cpp added

A test code for the grep_filter.

comment:3 Changed 9 years ago by Jonathan Turkanis

Status: newassigned

I have implemented grep_filter in [45833]. I still need to add tests for the member function count(), returning the number of lines matched, and am considering removing the 'options' constructor parameter and replacing it with a boolean parameter 'invert'

As soon as this is done, I will document the filter and close this ticket

comment:4 Changed 9 years ago by Jonathan Turkanis

Resolution: fixed
Status: assignedclosed

I have decided to keep the options parameter to the grep filter constructor, so more options can be added in the future.

Initial documentation has been added (see [45873] and [45875])

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonathan Turkanis.
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.