Hacker News new | ask | show | jobs
by Hello71 3232 days ago
a more accurate term would be "BRE with GNU extensions", e.g. \(\)
1 comments

\(\) are part of BRE syntax. They are not GNU extensions.

Source: http://pubs.opengroup.org/onlinepubs/7908799/xbd/re.html#tag...

er, I meant \{\}.
\{n\}, \{n,\} and \{n,m\} are all in POSIX.

\{,m\} is a (pretty obscure) GNU extensions.

hm, I could've sworn it wasn't. http://www.regular-expressions.info/gnu.html says that \?, \+, and \| are GNU extensions though.