Great Circle Associates Majordomo-Users
(June 1994)
 

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

Subject: setting default regexp_array in 1.90
From: "Mark Frost" <mfrost @ ncd . com>
Date: Tue, 7 Jun 1994 17:12:41 -0700
To: majordomo-users @ greatcircle . com


I'm trying to make a default for the "advertise" variable in 1.90.
I seem to have no problem entering in a single value as in

'advertise',            '/ncd.com$/', # if regexp matches address show list


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).
 
I've tried

'advertise',            '/ncd.com$/ /ncd.co.uk$/', # if regexp matches address show list

and

'advertise',            '/ncd.com$/
/ncd.co.uk$/', # if regexp matches address show list

but whenever I list more than one it always comes up empty.

What am I doing wrong?

Thanks

-mark frost 
 network computing devices


Follow-Ups:
Indexed By Date Previous: [no subject]
From: davep@jersey.sps.mot.com (Dave Penaskovic)
Next: Custom responses to requests
From: bill@biome.bio.ns.ca (Bill Silvert)
Indexed By Thread Previous: [no subject]
From: davep@jersey.sps.mot.com (Dave Penaskovic)
Next: Re: setting default regexp_array in 1.90
From: "John P. Rouillard" <rouilj@cs.umb.edu>

Google
 
Search Internet Search www.greatcircle.com