Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
att
GitHub Repository: att/ast
Path: blob/master/src/cmd/re/README
1808 views
POSIX regex snarfed from Doug McIlroy's C++.  Converted to C by Glenn
Fowler.  *'d features have been added to Doug's original code.  testre
should compile with other regex implementations, but you may need to
run with -c to catch non-terminating loops and memory faults.

FEATURE			BRE		ERE		ARE
-------			---		---		---
negation		NO		expr \!		expr !
conjunction		NO		expr \& expr	expr & expr
NULL subgroups		YES		NO		YES
word boundaries*	\< expr \>	\< expr \>	< expr >
minimal match*		NO		REG_MINIMAL	REG_MINIMAL
shell patterns*		REG_SHELL	NO		NO
ksh patterns*		NO		NO		REG_SHELL