[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#489027: wrong command in mail servers' reference card



On Wed, Jul 02, 2008 at 06:16:23PM -0300, Luciano Bello wrote:
> Package: www.debian.org
> Severity: minor
> 
> In the page http://www.debian.org/Bugs/server-refcard says:
> "quit|stop|thank...|--..."
> 
> 'thank...' is not a command for control@bugs.d.o
> 
> The line should be changed to
> "quit|stop|thank|thanks|thankyou|thank you|--"

The three dots were actually supposed to represent a wildcard; I'm almost
certain that it meant that the regular expression was matching ^thank

I see in the code now that the expression is:

    if (m/^stop\s*$/i || m/^quit\s*$/i || m/^--\s*$/ || m/^thank(?:s|\s*you)?\s*$/i || m/^kthxbye\s*$/i) {

Yet, thinking about it, it doesn't seem like we should actually care
about all those forms, because they get silly real fast... the reference
card could easily just list a few essential forms (one word-based and one
signature-based).

-- 
     2. That which causes joy or happiness.



Reply to: