News for hackers. Stuff that matters.
Re:Emacs: The most successful malleable system by kazinator on Wednesday April 15, 2020 @12:24PM (#22879653)
> Emacs regexps are so unusual

Parentheses are also not metachars in Vi (and Vim) regexps by default, and are not metachars in POSIX BRE (basic regular expressions).

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1...

The grep utility, for instance, understands BREs by default; you must use grep -E to get ERE (extended regex) in which ( and ) are grouping characters, or else the deprecated egrep command (not in POSIX).

There are no comments on this comment yet.