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 <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature