regex fix

This commit is contained in:
Drew Ansbacher
2022-02-09 09:21:46 -07:00
committed by Aiden McClelland
parent 639569369b
commit 2c17038b19

View File

@@ -301,7 +301,7 @@ function getMarketplaceValueSpec(): ValueSpecObject {
nullable: false, nullable: false,
masked: false, masked: false,
copyable: false, copyable: false,
pattern: `https?:\/\/[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}`, pattern: `https?:\/\/[a-zA-Z0-9][a-zA-Z0-9-\.]+[a-zA-Z0-9]\.[^\s]{2,}`,
'pattern-description': 'Must be a valid URL', 'pattern-description': 'Must be a valid URL',
placeholder: 'e.g. https://example.org', placeholder: 'e.g. https://example.org',
}, },