Skip to content

Commit

Permalink
fixed regex
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntmeyer committed Feb 25, 2025
1 parent ddd09b8 commit 803d2c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workload/portal-ui/brownfield/portalUiNewSessionHosts.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"toolTip": "The name of the resource group to deploy. (Default: AVD1)",
"constraints": {
"required": true,
"regex": "^(?!-)[a-zA-Z0-9-]{1,2}a-zA-Z0-9$",
"validationMessage": "The prefix can be 2-4 aphanumeric characters and hyphens but not the first or last characters."
"regex": "^[a-zA-Z0-9]{2,4}$",
"validationMessage": "The prefix can be 2-4 aphanumeric characters."
}
},
{
Expand Down

0 comments on commit 803d2c8

Please sign in to comment.