From owner-svn-src-all@FreeBSD.ORG Sat Oct 19 21:53:37 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 27FBF72F; Sat, 19 Oct 2013 21:53:37 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D6C42234E; Sat, 19 Oct 2013 21:53:36 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id 0C0013592DA; Sat, 19 Oct 2013 23:53:34 +0200 (CEST) Received: by turtle.stack.nl (Postfix, from userid 1677) id C7B2ACB4E; Sat, 19 Oct 2013 23:53:33 +0200 (CEST) Date: Sat, 19 Oct 2013 23:53:33 +0200 From: Jilles Tjoelker To: Colin Percival Subject: Re: svn commit: r256767 - head/usr.sbin/freebsd-update Message-ID: <20131019215333.GA1489@stack.nl> References: <201310190940.r9J9eUiT027701@svn.freebsd.org> <5262E5A7.5020608@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5262E5A7.5020608@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 21:53:37 -0000 On Sat, Oct 19, 2013 at 01:03:51PM -0700, Colin Percival wrote: > On 10/19/13 02:40, Dag-Erling Smørgrav wrote: > > - P="[-+./:=%@_[[:alnum:]]" > > + P="[-+./:=%@_[~[:alnum:]]" > Shouldn't this be > P="[-+./:=%@_~[[:alnum:]]" > instead? That is equivalent. Both versions match an open square bracket in addition to the other characters. [:class:] can be used within [...] to match a named character class. Although it is common to see [[:class:]] in an RE or shell pattern, the sequences '[[' and ']]' are not required. -- Jilles Tjoelker