Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
josemarinas committed Oct 23, 2023
1 parent 75f00e6 commit fab553f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/client-common/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,5 +416,5 @@ export const IPFS_URI_REGEX =
export const OSX_PROPOSAL_ID_REGEX =
/^(0x[A-Fa-f0-9]{40})_(0x[A-Fa-f0-9]{1,64})$/;
export const HEX_STRING_REGEX = /^(0x)?[0-9a-fA-F]*$/;
export const ENS_REGEX = /^(\.{0,1}[a-z0-9-]+)+\.eth$/;
export const ENS_REGEX = /(\.{0,1}[a-z0-9-])+\.eth$/;
export const SUBDOMAIN_REGEX = /^[a-z0-9-]+$/;

0 comments on commit fab553f

Please sign in to comment.