emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep: RE error in ^*** ADVICE-ON-FAILURE-: repetition-operator opera


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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]