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 8b0fc47 commit 128f3f2Copy full SHA for 128f3f2
.changeset/regex-20230322.md
@@ -0,0 +1,5 @@
1
+---
2
+'@scaleway/regex': feat
3
4
+
5
+Add regex for Scaleway access key.
packages/regex/src/index.ts
@@ -78,3 +78,5 @@ export const ipv6Cidr = new RegExp(`^${cidrv6}$`)
78
export const reverseDNS = /^[a-z0-9-]+(\.[a-z0-9-]{1,63})+(\.)$/
79
export const dashedIpv4 =
80
/(\b25[0-5]|\b2[0-4][0-9]|\b[01]?[0-9][0-9]?)(-(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}/
81
82
+export const accessKeyRegex = /^SCW[A-Z0-9]{17}$/i
0 commit comments