procmail
[Top] [All Lists]

Re: Matching Word Boundaries with \< and \>, and Extended Character Sets

1999-04-03 00:26:52
Stan Ryckman <stanr(_at_)sunspot(_dot_)tiac(_dot_)net> writes:
<speculation>
Now, if procmail were taking enhancements (I don't think it is), the
way to do it might be to allow setting a variable LOCALE, and then
have \< and \> match any character c for which
  c != "_" && !isalnum(c)
although procmail support for locales could get messy (it should, for
example, impact the D flag among other things), and the list of supported
locales might vary from installation to installation, so exchanging
or moving recipes around could become tricky.
</speculation>

Actually, I am accepted suggestions for enhancements -- check out
        http://www.procmail.org/todo.html

I've added this one to the list, though I'll note that just because
something is on the list doesn't guarantee that I won't later decide
it's a bad idea or better left to other means.  Even if it is a good
idea, I would not suggest holding your breath for it.


Philip Guenther

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