[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ssift vs. tsift
> hi -- can someone give me an example of where i would want to use
> ssift instead of tsift? i.e. why was the new feature introduced?
The ``tsift'' uses addresses in tokenized form, while
``ssift'' does at first re-group tokens into a string,
and then apply REGEX on them.
For example:
sample.address@there.somewhere
tokenizes as:
sample . address @ there . somewhere
and you can't use ``tsift'' expressions, like:
(sample\.addr.*)@(.*)
to match it. Rather you need:
(sample)(\.)(addr.*)@.*
or something of that style..
With ``ssift'' you get a match with that first
expression.
> paul
> ---------------------
> paul fox american internet corporation
> pgf@american.com (home: pgf@foxharp.boston.ma.us)
> "As you can see, unraveling even a small part of 'sendmail'
> can introduce more complexity than answers." --Brian Costales, _sendmail_
/Matti Aarnio <mea@nic.funet.fi>