tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vulnerabilities pattern oddity


In the pkg-vulnerabilities list contains the following two lines:

perl{,-thread}-5.8.[0-4]{,nb*}*         local-file-write
perl{,-thread}-5.8.[0-4]{,nb*}*         local-file-write

These are the only two lines that have a pattern that includes a "{}
wildcard with a trailing "*".  How is this pattern interpreted?  Isn't
the last "*" superflous, since the "{,nb*}" already expands to "<emtpy
string>" and "nb*"?

Incidentally, the use of the "*" is somewhat against regex convention --
here, it doesn't mean "0 or more 'b's", it means "a 'b' followed by
anything" (ie "nb.*").


Attachment: pgpzyG9RvIRFA.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index