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,GAAG,6CAA6C;AAACC,OAAA,CAAAD,iBAAA,GAAAA,iBAAA;AAExE,IAAME,eAAe,GAC1B,mJAAmJ;AAACD,OAAA,CAAAC,eAAA,GAAAA,eAAA;AAE/I,IAAMC,gBAAgB,GAAG,4BAA4B;AAACF,OAAA,CAAAE,gBAAA,GAAAA,gBAAA"}