Bug#375848: vim-runtime: [SYNTAX] debcontrol believes that "." is
not allowed in package names
James Vega
jamessan at debian.org
Wed Jun 28 14:53:40 UTC 2006
On Wed, Jun 28, 2006 at 09:47:56AM -0400, Justin Pryzby wrote:
> 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.
According to this, we also need to ensure a minimum of two characters
and allow digits for the first character. I'll update the regexp to
[a-z0-9][a-z0-9+-]\+
Thanks,
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/76c27955/attachment.pgp
More information about the pkg-vim-maintainers
mailing list