From: Glenn Washburn Date: Wed, 28 Jun 2023 10:10:07 +0000 (-0500) Subject: commands/regexp: Fix typo X-Git-Tag: grub-2.12-rc1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c9c930320d4d203657b2cde67cb30d83ee87b57;p=thirdparty%2Fgrub.git commands/regexp: Fix typo Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- 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.