From 62167efe3008d07cedd9e949fd0d52cb2b9b32a6 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Thu, 9 Oct 2025 12:36:08 +0200 Subject: [PATCH] bin/grepc: -tt: Add word boundary around the identifier Signed-off-by: Alejandro Colomar --- bin/grepc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/grepc b/bin/grepc index 5e7f2ee2c..79c8b362f 100755 --- a/bin/grepc +++ b/bin/grepc @@ -174,7 +174,7 @@ grepc_c_fld() { printf '%s\n' '(?s)^(COMPAT_)?SYSCALL_DEFINE.\('"$1"'\b.*?^}'; grepc_c_mf() { printf '%s\n' '(?s)^[ \t]*#\s*define\s[\s\\]*'"$1"'\(.*?[^\\]$'; } grepc_c_mo() { printf '%s\n' '(?s)^[ \t]*#\s*define\s[\s\\]*'"$1"'\b(?!\().*?(?