well I partailly misread the original request
REG_REGEXP in <regex.h> is not hacked
the original <regexp.h> was a hack
the next release will have ~(V) for system V regexp

On Wed, 18 Apr 2012 15:06:54 -0400 Glenn Fowler wrote:
> currently there isn't one
> REG_REGEXP is implemented by a slighly different mechanism (i.e., its hacked)
> I'll have to look at the code to see how much damage it would do

> On Wed, 18 Apr 2012 19:40:01 +0200 Wendy Lin wrote:
> > I have a long standing question: In ksh I can use different regex
> > engines using ~(E) for grep -E, ~(G) for normal grep, ~(F) for grep -F
> > and so on. I saw that libast has support for a SVID grep engine with
> > REG_REGEXP but I can't find the corresponding switch for ~(). Does
> > anyone know how I can use REG_REGEXP engine from ksh scripts?

> > Wendy
> > _______________________________________________
> > ast-users mailing list
> > [email protected]
> > https://mailman.research.att.com/mailman/listinfo/ast-users

> _______________________________________________
> ast-users mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-users

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to