Skip to content

Commit 4b61ffb

Browse files
committed
feat(regex): add case insensitive
1 parent 592fc23 commit 4b61ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/regex/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const url =
5353
export const hexadecimal = /^[0-9a-fA-F]+$/
5454
export const s3BucketName = /^[a-z0-9][-.a-z0-9]{1,61}[a-z0-9]$/
5555
export const uuid =
56-
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
56+
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i
5757

5858
// Pasted from `ip-regex` package (https://github.com/sindresorhus/ip-regex/blob/main/index.js)
5959
const v4 =

0 commit comments

Comments
 (0)