Great Circle Associates Majordomo-Users
(August 2001)
 

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

Subject: Re: Problem with list names
From: Daniel Liston <dliston @ netscape . com>
Organization: iPlanet eCommerce Solutions, A Sun|Netscape Alliance
Date: Fri, 10 Aug 2001 10:42:08 -0500
To: Bill Guion <wguion @ sgt-inc . com>, majordomo-users @ greatcircle . com
References: <200108091844.NAA02647@hirs.timpo.osd.mil> <v03110701b7998f1d1b40@[63.75.83.224]>

No, the [, ], and + are characters that are used to form regular 
expressions. Specifically, the square brackets enclose the set of
characters to be allowed in a specific position, the plus sign
indicates the number of iterations of the character used must be
at least one, and the quote marks indicate the begining and end
of the expression itself.

For example,
to search the dictionary, or an entire set of encylopedias, and
a phone book, with regular expression to find every word that
starts with m followed by o, followed by a number or letter
any number of times but must be at least once [a-z0-9]+ and
ending with - would look like this; "mo[a-z0-9]+-".
I should not find too many words, but my search is well defined.

In the case of majordomo, you see many uses of regular expressions.
You see them in the listname.config files in settings like;
advertise/noadvertise and taboo body/headers.  Also in the mail
majordomo.cf file for taboo settings, but instead of enclosing
the expressions in quote marks, they are typically enclosed with
slant (forward slash) characters.

Dan Liston

Bill Guion wrote:
> 
> Aren't the characters []+ also included? Isn't everything between the
> qoutes included?
> 
> Daniel Liston wrote:
> 
> >This is from the NEWLIST file in the Doc directory....
> >
> >List names must be of the form "[a-z0-9_-]+" (in other words, letters,
> >digits, underbars, or dashes only).



References:
Indexed By Date Previous: owner-list-l
From: Homer Wilson Smith <homer@lightlink.com>
Next: Re: MOVE FROM Pegasus/NT to majordomo/Linux
From: Daniel Liston <dliston@netscape.com>
Indexed By Thread Previous: Re: Problem with list names
From: Daniel Liston <dliston@netscape.com>
Next: seeking help in archiving with majordomo
From: Saisab Pradhan <saisab@icimod.org.np>

Google
 
Search Internet Search www.greatcircle.com