We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e53f7a commit 9f1c18cCopy full SHA for 9f1c18c
packages/models-library/src/models_library/basic_regex.py
@@ -50,7 +50,7 @@
50
51
# S3 - AWS bucket names [https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html]
52
S3_BUCKET_NAME_RE = re.compile(
53
- r"(?!(^xn--|-s3alias$))^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$"
+ r"^(?!xn--)[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$(?<!-s3alias)"
54
)
55
56
# Datcore file ID
0 commit comments