Re: [SEToolkit-developer] Enhancement: Upgrade expression operator from Basic to Extended Regular E
Brought to you by:
dmichelsen
|
From: Jon C. <can...@gm...> - 2007-08-17 17:04:23
|
> Am 17.08.2007 um 14:47 schrieb Jon Craig: > > I've had several occasions where basic RE just couldn't do what I > > needed and I've longed for full extended REs. > > I am interested in what those occasions are? Biggest one was work I was doing with workollator. I wanted the match to expand to things like multiple users. So the use of grouping with or "(tom|dick|harry)" would be handy. Also, trying to match multiple things in ps_args when building workloads. > > That was my initial > > impetus to getting the SE Toolkit environment to build. What are > > others thoughts on using regcomp/regexec over compile/step to enable > > extended regular expressions. I've got a patch that implements this. > > Please submit the patch as 'gdiff -Naur' at > http://sourceforge.net/tracker/? > atid=928691&group_id=189279&func=browse > For integration checks in autoconf for regex.h are needed and should be > honoured. I'll submit the patch. I noticed that the kstat module is using regcomp over compile, so the binary is already using the other library/functions in a different spot. This is my first work on a "shared" project using sourceforge and my first experience using autoconf/automake, so I'm on a bit of a learning curve. > > The gcc problem has been fixed. Everywhere in the code stdarg.h was > used but in funcs.c :-( > Yeah! |