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 <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to