that is a lower level support function for strmatch(), which was the original hand-rolled extended ksh pattern matcher
it is now implemented on top of <regex.h> but some programs still use strgrpmatch() directly because the combined regcomp()/regexec() in a single call is handy and because of the regex cache its not that expensive the biggest challenge was getting the <regex.h> implementation, which uses a completely different algorithm than the original strmatch(), to work the same as strmatch() -- a large set of regression tests, and a nice initial harness by Doug McIlroy, made that process a bit easier On Thu, 31 May 2012 21:19:24 +0200 Lionel Cons wrote: > On 31 May 2012 21:17, Glenn Fowler <[email protected]> wrote: > > > > regoff_t : int => ssize_t will be in the next release > > adding the change with forwards/backwards source/binary compatibility took > > a little more time > > it also affected the older but still used strgrpmatch() prototype > What is strgrpmatch() ? > Lionel _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
