Re: Recipe Dissection
Cary Coutant <[email protected]> Thu, 06 Nov 2008 00:05:56 -0800
| Newsgroups | gmane.mail.smartlist.user |
|---|---|
| Message-ID | <[email protected]> |
> As I remember, this is supposed to be a complete recipe; so where is
> the closing parenthesis for
>
>
> 9876543210^0 ^^(.+$)*Subject:[ ]*____(____([(<]no(ne| subject\
>
> the marked left paren supposed to go?
I think it matches the right paren marked here:
$(.+$)*(^[ ]*)+____)____?(archives?:?([ ]|$)|\
Here's a structured view of that RE, where I've replaced literal
parens and angle brackets with X:
(.+$)*Subject:[ ]*
(
([XX]no(ne| subject( (Xfile transmission|given))?)[XX])?$
(.+$)*
(^[ ]*)+
)?
(
archives?:?([ ]|$)|
((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|list|show|search|[fe]?grep|find|maxfiles|version)
([ ]+[^ ]*)?$
)
-cary