Re: I-D ACTION:draft-ietf-sieve-variables-04.txt

Kjetil Torgrim Homme <kjetilho@ifi.uio.no> Wed, 20 July 2005 22:28 UTC

Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j6KMSwgb026209; Wed, 20 Jul 2005 15:28:58 -0700 (PDT) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j6KMSw9O026208; Wed, 20 Jul 2005 15:28:58 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j6KMSve7026201 for <ietf-mta-filters@imc.org>; Wed, 20 Jul 2005 15:28:57 -0700 (PDT) (envelope-from kjetilho@ifi.uio.no)
Received: from mail-mx4.uio.no ([129.240.10.45]) by pat.uio.no with esmtp (Exim 4.43) id 1DvN3e-0005wT-0E; Thu, 21 Jul 2005 00:28:54 +0200
Received: from 80.80-202-166.nextgentel.com ([80.202.166.80] helo=chico.njus.no) by mail-mx4.uio.no with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.43) id 1DvN3b-0000OZ-Lv; Thu, 21 Jul 2005 00:28:51 +0200
Subject: Re: I-D ACTION:draft-ietf-sieve-variables-04.txt
From: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
To: Philip Guenther <guenther+mtafilters@sendmail.com>
Cc: ietf-mta-filters@imc.org
In-Reply-To: <200507202154.j6KLsoeW043863@lab.smi.sendmail.com>
References: <E1DtRVp-0002k4-CW@newodin.ietf.org> <1121522976.8017.6.camel@chico.njus.no> <01LQUHIQ7UJA000092@mauve.mrochek.com> <1121886910.30434.93.camel@chico.njus.no> <200507202154.j6KLsoeW043863@lab.smi.sendmail.com>
Content-Type: text/plain
Date: Thu, 21 Jul 2005 00:28:45 +0200
Message-Id: <1121898525.30434.122.camel@chico.njus.no>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1
Content-Transfer-Encoding: 7bit
X-UiO-Spam-info: not spam, SpamAssassin (score=-2.29, required 12, autolearn=disabled, AWL 0.87, FORGED_RCVD_HELO 0.05, RCVD_IN_NJABL_DUL 1.66, RCVD_IN_SORBS_DUL 0.14, UIO_MAIL_IS_INTERNAL -5.00)
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>

On Wed, 2005-07-20 at 14:54 -0700, Philip Guenther wrote:
> Kjetil Torgrim Homme <kjetilho@ifi.uio.no> writes:
> >there is no ABNF in [REGEX] to refer to, and a full list will be prone
> >to inaccuracies.  not that I expect any changes to the syntax allowed by
> >it, but ...
> 
> That would be an argument for moving :quoteregex to the regex draft.  I
> don't see any wording that limits support for :quotaregex to when the
> regex extension is also required, so even implementations that don't
> support regex will need to support :quoteregex.

ouch, you're right.  suggestion:

Modifier ":quoteregex"

        Every character with special meaning for :regex (".", "*", "?"
        etc.) is prefixed with "\" in the expansion.  This modifier is
        only available when the "regex" extension is in effect.

> To me, that means that
> this document needs to specify exactly what its behavior is.  (Yeah, you
> could make [REGEX] a normative reference, but ... ick.)
> 
> (Hmm, what if the regex extension is revised to support not just the
> normal ("extended") POSIX regexps but also the old "basic" regexps?  The
> quoting rules for the two are different.  (Basic regexps are _not_ a
> subset of extended regexps for functionality, though the GNU
> implementations have blurred that fact by extending them both.))

:quoteregex specifically works for :regex (and the added sentence above
locks the behavioural description to [REGEX]), if an :basicregex is
introduced, there will be no quoting modifier for it.

> Anyway, if :quoteregex isn't moved, then the minimal list of characters
> that are escaped by :quoteregex is:
> 
> \ . [ ^ $ ( ) { * + ? |

that's just too ugly a duplication of specification.  if we need to add
that, I'd rather split out the :regex bits.

> On an unrelated point, the [SIEVE] reference needs to be changed to the
> replacement I-D to dodge the "no side-effects in tests" restriction.

well, 3028bis must be published first, anyway, so I'll update the
reference when its done?
-- 
Kjetil T.