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 80ce317 commit ad20896Copy full SHA for ad20896
aws_doc_sdk_examples_tools/metadata_validator.py
@@ -81,11 +81,7 @@ def get_name(self):
81
return "valid example ID"
82
83
def _is_valid(self, value: str):
84
- if not re.fullmatch("^[\\da-z-]+(_[\\da-zA-Z]+)+$", value):
85
- return False
86
- else:
87
- svc = value.split("_")[0]
88
- return (svc == "cross") or (svc in self.services)
+ return re.fullmatch("^[\\da-z-]+(_[\\da-zA-Z-]+)+$", value)
89
90
91
class BlockContent(Validator):
0 commit comments