We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb4f4aa commit f86a47bCopy full SHA for f86a47b
1 file changed
gapic/schema/naming.py
@@ -99,7 +99,7 @@ def build(
99
# This code may look counter-intuitive (why not use ? to make it
100
# optional), but the engine's greediness routine will decide that
101
# the version is the name, which is not what we want.
102
- version = r'\.(?P<version>v[0-9]+(p[0-9]+)?((alpha|beta)[0-9]+)?)'
+ version = r'\.(?P<version>v[0-9]+(p[0-9]+)?((alpha|beta)[0-9]*)?)'
103
if re.search(version, root_package):
104
pattern += version
105
0 commit comments