[Cook] Match mode appears to be broken

Jerry Pendergraft jerry at endocardial.com
Sat Jun 21 04:00:45 EST 2003


On Fri, 20 Jun 2003, Jason Evans wrote:

> On Fri, Jun 20, 2003 at 01:38:27PM -0400, Jody Hagins wrote:
> > 
> > The problem is that I need to do *some* regex matching.  Maybe if these
> > flags could be set on a per-function level, that would help.  At least I
> > could then set it inside a function, and when that function returned,
> > the setting would revert back to what it was before the function was
> > called.
> 
> As discussed recently in another thread, it is possible to set flags on a
> per-recipe basis and/or on a per-statement basis (but not on a per-function
> basis).  Have you experimented with those possibilities?
> 
> Jason
I haven't tried it, but since a statement can include a function call it
seems you could get the set effect around a function.
foo = [func args] set reg.... ;

-- 
Jerry Pendergraft                        jerry.pendergraft at endocardial.com
Endocardial Solutions                    voice: 651-523-6935
1350 Energy Lane, Suite 110                fax: 651-644-7897
St Paul, MN 55108-5254                  mobile: 651-491-0163






More information about the Cook-users mailing list