sigit.io/src/constants.ts

3 lines
125 B
TypeScript

// Regular expression to validate the NIP-05 identifier
export const NIP05_REGEX = /^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$/