Bug#375848: vim-runtime: [SYNTAX] debcontrol believes that "." is not allowed in package names

James Vega jamessan at debian.org
Wed Jun 28 16:24:24 UTC 2006


On Wed, Jun 28, 2006 at 04:16:18PM +0200, Pierre Habouzit wrote:
> Le mer 28 juin 2006 15:47, Justin Pryzby a écrit :
> > Package: vim-runtime
> > Version: 1:7.0-017+8
> > Severity: normal
> >
> >
> > syn match debcontrolName contained "[a-z][a-z0-9+-]*"
> >
> >
> > 5.6.7. `Package'
> > ----------------
> >
> >      The name of the binary package.
> >
> >      Package names must consist only of lower case letters (`a-z'),
> > digits (`0-9'), plus (`+') and minus (`-') signs, and periods (`.'). 
> > They ^^^^^^^^^^^^^^^^^ must be at least two characters long and must
> > start with an alphanumeric character.
> 
> meaning that it should be:
> 
> syn match debcontrolName contained "[0-9a-z][a-z0-9+-.]*"

Actually, you want the '-' to be last otherwise you're specifying a
range.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060628/390607bd/attachment.pgp


More information about the pkg-vim-maintainers mailing list