Ticket #3059 (new enhancement)
Add pattern to match ranges relative to matched results.
| Reported by: | naveen | Owned by: | mutt-dev |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.0 |
| Component: | mutt | Version: | 1.5.18 |
| Keywords: | pattern limit tag | Cc: |
Description
I would like to propose a new pattern ~M that allows you to select a range from matched results.
This is useful for:
* Limiting/tagging the first 500 results: ~M <500 (other patterns)
* Limiting/tagging results from the 5th to 10th: ~M 5-10 (other patterns)
* Limiting/tagging by matching the 50th result: ~M 50 (other patterns)
etc.
I have attached a patch implementing this feature. It works on both 1.5.18 and the mercurial development branch. I also attempted to add documentation regarding this pattern as best as possible.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
