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:
|
|