From 1c9c930320d4d203657b2cde67cb30d83ee87b57 Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Wed, 28 Jun 2023 05:10:07 -0500 Subject: [PATCH] commands/regexp: Fix typo Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- grub-core/commands/regexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/commands/regexp.c b/grub-core/commands/regexp.c index 612003f94..246af39f0 100644 --- a/grub-core/commands/regexp.c +++ b/grub-core/commands/regexp.c @@ -36,7 +36,7 @@ static const struct grub_arg_option options[] = groups with parentheses. These groups are then numbered and you can save some of them in variables. In other programs - those components aree often referenced with + those components are often referenced with back slash, e.g. \1. Compare sed -e 's,\([a-z][a-z]*\),lowercase=\1,g' The whole matching component is saved in VARNAME, not its number. -- 2.47.2