Package: devscripts Version: 2.10.47 Severity: minor In many places in the devscripts programs, the regular expression referred to as the default for “dirname regex” is used: ‘PACKAGE(-.*)?’. This is documented as:
… thus matching directory names such as PACKAGE and
PACKAGE-version.
However, that regex also matches the string ‘PACKAGE-’, since it
allows zero characters following a hyphen. This is not a sensible
directory name for the purpose.
This should instead be uniformly changed to ‘PACKAGE(-.+)?’ so that
the version part will only match if it contains at least one
character.
--
\ “Are you pondering what I'm pondering?” “I think so, ... Brain, |
`\ but how can we get seven dwarves to shave their legs?” —_Pinky |
_o__) and The Brain_ |
Ben Finney <[email protected]>
signature.asc
Description: Digital signature
