procmail
[Top] [All Lists]

Re: FW: Simple (for you) regexp question

1998-11-16 14:20:04
"Eric, Audet" <eaudet(_at_)scc(_dot_)ca> writes:
hmm \S+(\s+\S+)?(\s+\S+)?(\s+\S+)?(\s+\S+)?(\s+\S+)?blah$

ok
\S non-space
so 1 or more non-space (make word 1)
\s\S space and non-space


Bzzzt.  You must be think of perl: procmail doesn't support \s or \S as
regexp specials.  They just mean "s" and "S" here.


Philip Guenther

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