On Thu, 31 May 2012 23:16:06 +0200 Lionel Cons wrote: > On 31 May 2012 23:13, Glenn Fowler <[email protected]> wrote: > > > > On Thu, 31 May 2012 23:06:47 +0200 Lionel Cons wrote: > >> On 31 May 2012 21:12, Glenn Fowler <[email protected]> wrote: > >> > > >> > 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 > > > >> ~(R) is already in use? > >> I really miss a description of ~(flags) in the output of --man for > >> ksh, grep, sed. > > > > its a placeholder for the pcre (perl compatible re) "(?R...)" > > which I don't recall what its functiuon is > > in ast its ignored
> I thought ~(P) is used for perl/pcre compatible re? yes it is, but the ~(...) forms for REG_SHELL have an equivalent (?...) form for other styles and in pcre (?R...) has a meaning from what I recall that meaning is perl-specific and can't be replicated by regcomp()/regexec() but I reserved R just to avoid confusion with those familiar with perl V == 5 == system 5 == system V is the closest numonic I could think of _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
