package.constants.regex.js.map Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neeto-commons-frontend Show documentation
Show all versions of neeto-commons-frontend Show documentation
A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.
{"version":3,"file":"regex.js","names":["VALID_EMAIL_REGEX","VALID_URL_REGEX","VALID_SLUG_REGEX"],"sources":["../../src/constants/regex.js"],"sourcesContent":["export const VALID_EMAIL_REGEX = /^[\\w+-.]+@[a-z\\d-]+(\\.[a-z\\d-]+)*\\.[a-z]+$/i;\n\nexport const VALID_URL_REGEX =\n /^((https?):\\/\\/)?(www.)?[a-z0-9-]+(\\.[a-z]{2,}){1,3}(#?\\/?[a-zA-Z0-9#-]+)*\\/?(\\?[a-zA-Z0-9-_]+=[a-zA-Z0-9-%]+(&[a-zA-Z0-9-_]+=[a-zA-Z0-9-%]+)*)?$/;\n\nexport const VALID_SLUG_REGEX = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;\n"],"mappings":"AAAA,OAAO,IAAMA,iBAAiB,GAAG,6CAA6C;AAE9E,OAAO,IAAMC,eAAe,GAC1B,mJAAmJ;AAErJ,OAAO,IAAMC,gBAAgB,GAAG,4BAA4B"}