procmail
[Top] [All Lists]

parentheses vs. brackets

1998-10-20 09:16:36
When I suggested code including this condition,

| >  * ^^( |    |$)*unsubscribe$

Dr. Daia replied,

|     On a completely unrelated topic, doesn't procmail use fastmaps to
| handle [...] constructs?  If it does, then [  ] (that's a space and a
| tab) will be slightly more efficient than ( | ).

Given that we also need to allow for newlines, bracketing the space and
the tab will not get rid of the parentheses nor the other pipe, so we'd
still have that level of interpretation.  It is not [   ] vs. ( |       )
here but ([     ]|$) vs. ( |    |$).

So it may not be cut-and-dried.