Re: [PATCH v2 2/2] ref-filter: 'contents:trailers' show error if `:` is missing
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Aug 26, 2020, 06:22 UTC
- Message-ID
- <CAP8UFD0Ds816PfQFwX+1wQhpjaCHZFOF3dK76SRUzt23uS9jPg@mail.gmail.com>
- In-Reply-To
- <CAP8UFD03Am94_84FvRPxEdt_AG74864eQ4TimggKtUYWjJYqCg@mail.gmail.com>
On Wed, Aug 26, 2020 at 8:18 AM Christian Couder <christian.couder@gmail.com> wrote:
Show 6 quoted lines
> I think we could also get rid of the "match_and_" part of the > suggestion, in the same way as skip_prefix() is not called > match_and_skip_prefix(). Readers can just expect that if there is no > match the function will return 0. > > So maybe "extract_field_option()".
If we want to hint more that it works in the way as skip_prefix(), we could call it "skip_field()".