Re: Difference in POSIX regular expression for bash's '=~' operator and
From:
Andreas Schwab
Subject:
Re: Difference in POSIX regular expression for bash's '=~' operator and POSIXLY_CORRECT grep -E
Date:
Tue, 20 May 2025 22:22:48 +0200
User-agent:
Gnus/5.13 (Gnus v5.13)
On Mai 20 2025, FunnyMan Computer wrote:
> In both cases, ${BASH_REMATCH[1]} should also have results stored.
Why? There are no subexpression in your regexps.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."