Great Circle Associates Majordomo-Users
(June 1994)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: setting default regexp_array in 1.90
From: "Mark Frost" <mfrost @ ncd . com>
Date: Wed, 8 Jun 1994 14:11:33 -0700
To: Stephen P Potter <spp @ cis . ufl . edu>, "John P. Rouillard" <rouilj @ cs . umb . edu>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: Stephen P Potter <spp@cis.ufl.edu> "Re: setting default regexp_array in 1.90" (Jun 8, 6:24)
References: <199406081225.IAA17567@native.cis.ufl.edu>

On Jun 8,  6:24, Stephen P Potter wrote:
> Subject: Re: setting default regexp_array in 1.90
> Strange sunspot activity caused "John P. Rouillard" <rouilj@cs.umb.edu> to writ
> e:
> | In message <9406071712.ZM24893@bryant.ncd.com>, "Mark Frost" writes:
> | >However, I want to add more than one regexp there.  This of course, works
> | >fine if I add it to the config file by hand (or via admin commands rather),
> | >but I want to set things up so that admins here can start with a reasonable
> | >set of defaults).
> | Try:
> | 	"/regexp1/\001/regexp2/"
> | 
> | The value is a regexp array, and you might need to put it in string
> | array form. Then again its late, and I may be entirely wrong.
> | 
> 
> I hope it's late and your are wrong....  ;)
> Shouldn't he try using:
> 
> /regexp1|regexp2/;  # you might want to escape the periods (\.)
> 
> Steve
>-- End of excerpt from Stephen P Potter

Actually, I did try this.  I thought I recalled reading somewhere in
the perl book that putting "|" inside of a regular expression is rather
inefficient.  (Although for the life of me I can't seem to find this
mentioned in the perl book when I look for it now...)

-mark frost


References:
Indexed By Date Previous: Majordomo SECURITY bug new-list announcement
From: "John P. Rouillard" <rouilj@cs.umb.edu>
Next: Re: setting default regexp_array in 1.90
From: Stephen P Potter <spp@cis.ufl.edu>
Indexed By Thread Previous: Re: setting default regexp_array in 1.90
From: Stephen P Potter <spp@cis.ufl.edu>
Next: Re: setting default regexp_array in 1.90
From: Stephen P Potter <spp@cis.ufl.edu>

Google
 
Search Internet Search www.greatcircle.com