On 3/24/09, Glenn Fowler <[email protected]> wrote: > > On Tue, 24 Mar 2009 19:41:17 +0100 Jennifer Pioch wrote: > > Glenn, could we get a switch in ~(options)pattern to select between > > regex and regexp() syntax? Solaris /usr/bin/grep uses regexp() while > > /usr/xpg4/bin/grep uses regex() and a switch to choose between both > > apis would help with the migration of old scripts. > > > can you point me to the diffs between the RE sytnax in the two apis? > I don't need the api diffs, just the RE diffs
How can I create such diffs? http://docs.sun.com/app/docs/doc/816-5175/regexp-5?l=en&a=view&q=regexp is the regexp api used by /usr/bin/grep and http://docs.sun.com/app/docs/doc/816-5175/regex-5?l=en&a=view&q=regex is the standard regex api used by /usr/xpg4/bin/grep Jenny -- Jennifer Pioch, Uni Frankfurt _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
