|
From: | Gregory Heytings |
Subject: | Re: grep: RE error in ^*** ADVICE-ON-FAILURE-: repetition-operator operand invalid |
Date: | Sat, 19 Nov 2022 12:26:41 +0000 |
Whether allowed by POSIX or not, it's obviously helpful as it helped us discover this incorrect regexp.
I just checked, it was not incorrect. POSIX says that in BREs the '*' is special, except wen used:
- in a bracket expression - as the first character of an entire BRE (after an initial '^', if any) - as the first character of a subexpression (after an initial '^', if any)
[Prev in Thread] | Current Thread | [Next in Thread] |