In message <9406071712.ZM24893@bryant.ncd.com>, "Mark Frost" writes:
>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$/',
>
>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?
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.
-- John
John Rouillard
Senior Systems Consultant (SERL Project) University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred) Boston, MA, (617) 287-6480
==============================================================================
My employers don't acknowledge my existence much less my opinions.
References:
|
|