diff options
-rw-r--r-- | pym/portage_versions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_versions.py b/pym/portage_versions.py index 929595c13..715319167 100644 --- a/pym/portage_versions.py +++ b/pym/portage_versions.py @@ -267,7 +267,7 @@ def catpkgsplit(mydata,silent=1): """ # Categories may contain a-zA-z0-9+_- but cannot start with - - valid_category = re.compile("^[A-Za-z0-9+_][A-Za-z0-9+_-]*") + valid_category = re.compile("^\w[\w-]*") try: if not catcache[mydata]: return None |