sigit.io/src/constants.ts

3 lines
125 B
TypeScript
Raw Normal View History

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