[PATCH 0/2] grep: introduce and use grep_and_expr()
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Jan 6, 2022, 19:50 UTC
- Message-ID
- <cover.1641498525.git.me@ttaylorr.com>
- In-Reply-To
- <ea01f9b6-2ce3-57e8-533f-4cc29937f700@web.de>
René,
Here are a couple of extra patches on top of your series which introduce and use a new grep_and_expr() function.
Like the final patch says, this isn't about reducing code duplication, but rather about adding visual consistency with the other `compile_pattern_xyz()` functions.
Taylor Blau (2): grep: extract grep_binexp() from grep_or_expr() grep: use grep_and_expr() in compile_pattern_and()
grep.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-)
-- 2.34.1.455.gd6eb6fd089