From: Christian Couder Date: Wed, 26 Aug 2020 06:22:19 GMT Subject: Re: [PATCH v2 2/2] ref-filter: 'contents:trailers' show error if `:` is missing Message-ID: In-Reply-To: On Wed, Aug 26, 2020 at 8:18 AM Christian Couder wrote: > 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()".