From 2c17038b19bb29307d69ed3a1d3f1f3f3445eb3a Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Wed, 9 Feb 2022 09:21:46 -0700 Subject: [PATCH] regex fix --- .../app/pages/server-routes/marketplaces/marketplaces.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/projects/ui/src/app/pages/server-routes/marketplaces/marketplaces.page.ts b/frontend/projects/ui/src/app/pages/server-routes/marketplaces/marketplaces.page.ts index 5808c931a..ad46bef1e 100644 --- a/frontend/projects/ui/src/app/pages/server-routes/marketplaces/marketplaces.page.ts +++ b/frontend/projects/ui/src/app/pages/server-routes/marketplaces/marketplaces.page.ts @@ -301,7 +301,7 @@ function getMarketplaceValueSpec(): ValueSpecObject { nullable: false, masked: 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', placeholder: 'e.g. https://example.org', },