Great Circle Associates Majordomo-Workers
(September 1998)
 

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

Subject: Re: Documentation Update: help regexp
From: "William R. Dickson -- System Administration" <wdickson @ nwnexus . net>
Date: Tue, 22 Sep 1998 12:22:15 -0700
To: Dave Wolfe <dwolfe @ risc . sps . mot . com>, majordomo-workers @ GreatCircle . COM
Cc: tibbs @ hpc . uh . edu
In-reply-to: <19980917083709.D13076@risc.sps.mot.com>
References: <v03102805b225ba033f3e@[206.63.47.20]>; from William R.Dickson -- System Administration on Wed, Sep 16, 1998 at 11:55:13AM -0700<v03102805b225ba033f3e@[206.63.47.20]>

All these changes made; thanks.  Will send new copy soon.

-Bill


At 8:37 AM -0500 9/17/98, Dave Wolfe wrote:
>Good work. Some comments...
>
>[ William R. Dickson -- System Administration writes: ]
>
>> Regular Expressions
>> ===================
>>
>> For some of the configuration options, a rudimentary knowledge of perl
>> style regular expressions will help you run Majordomo through its
>
>Here (and throughout) I believe the reference is to the language Perl
>and not the specific executable. The convention is Perl (the language)
>and perl (an executable implementing Perl). With appropriate hyphenation
>of the compound adjective, this particular instance should be spelled
>"... Perl-style regular expressions ...".
>
>> The character / is used to mark the beginning and end of a regular
>> expression.  Letters and numbers stand for themselves.  Many of the
>> other characters are symbolic.  Some commonly used ones are:
>>
>>   \@    the `@' found in nearly all addresses; it must be preceeded by a
>>         backslash in later versions of perl to avoid errors
>
>Since Mj2 requires Perl 5, the latest versions of Perl disambiguate the
>usage of @ in strings somewhat, and \@ works for all versions of Perl, I
>think it'd be best to simply drop the "later versions" qualifier. I.e.
>"... it must be preceeded by a backslash to avoid errors in Perl."
>
>> Example 2
>> ---------
>>
>>      /rouilj\@.*cs\.umb\.edu/
>>
>> The `@' has special meaning to later versions of perl and must be prefixed
>> with a backslash to avoid errors.  The string ".*" means "any character,
>
>Again, drop the qualifier and say "The `@' has special meaning in Perl
>and must be prefixed...".
>
>> Normally all matches are case sensitive; you can make any match case
>> insensitive by appending an `i' to the end of the expression.
>>
>>
>> Example 6
>> ---------
>
>I think it flows better to put the example heading before the text
>introducing it:
>
>Example 6
>---------
>
>Normally all matches are case sensitive; you can make any match case
>insensitive by appending an `i' to the end of the expression.
>
>     /aol\.com/i
>[...]
>
>--
> Dave Wolfe


--
 William R. Dickson - System Administration           wdickson@nwnexus.com
 Northwest Nexus - Professional Internet Services         Bellevue, WA USA
 Voice: 425 455-3505  Web: http://www.nwnexus.com/  Info: info@nwnexus.com




References:
Indexed By Date Previous: Re: command abbreviations
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: Documentation Update: notes
From: "William R. Dickson -- System Administration" <wdickson@nwnexus.net>
Indexed By Thread Previous: Re: Documentation Update: help regexp
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: Documentation Update: help commands
From: "William R. Dickson -- System Administration" <wdickson@nwnexus.net>

Google
 
Search Internet Search www.greatcircle.com