package.cjs.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","exports","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":";;;;;;AAAO,IAAMA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,GAAG,6CAA6C;AAEvE,IAAME,eAAe,GAAAD,OAAA,CAAAC,eAAA,GAC1B,mJAAmJ;AAE9I,IAAMC,gBAAgB,GAAAF,OAAA,CAAAE,gBAAA,GAAG,4BAA4B","ignoreList":[]}