diff options
Diffstat (limited to 'python/python.go')
-rw-r--r-- | python/python.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python.go b/python/python.go index 65e3efd4..6d6ac27b 100644 --- a/python/python.go +++ b/python/python.go @@ -206,7 +206,7 @@ type dependencyTag struct { var ( pythonLibTag = dependencyTag{name: "pythonLib"} launcherTag = dependencyTag{name: "launcher"} - pyIdentifierRegexp = regexp.MustCompile(`^([a-z]|[A-Z]|_)([a-z]|[A-Z]|[0-9]|_)*$`) + pyIdentifierRegexp = regexp.MustCompile(`^[a-zA-Z_][a-zA-Z0-9_-]*$`) pyExt = ".py" protoExt = ".proto" pyVersion2 = "PY2" |