procmail
[Top] [All Lists]

Re: Suggestion for Enhancement; B, H, ... and D

2002-02-17 13:35:26
"David W. Tamkin" <dattier(_at_)ripco(_dot_)com> writes:
...
\D and \d are absolutely horrid as delimiters, I agree, and so are any other
backslashed alphabetic characters or digits.  So what is left that comes in
pairs?

It doesn't need to so obviously paired; you just need some way to turn
it both on and off.

To me, the obvious choice is to follow perl's lead and use its
        (?magic-stuff-here)
syntax.  In particular, an embedded
        (?i)
turns on case-insensitive matching till the next close-paren or the end
of the regexp, while
        (?-i)
turns it off for the same region.

Perl support may other types of "magic stuff" with that syntax.  The
interested reader is refered to the perlre(1) manpage.


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>