Re:Learn Regex the Easy Way
by Hello71 on Thursday August 10, 2017 @12:08PM
(#14981069)
a more accurate term would be "BRE with GNU extensions", e.g. \(\)
[ Parent
| on HN ]
\(\) 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.