Hacker News new | past | comments | ask | show | jobs | submit login

\{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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: