UNPKG

@samchon/openapi

Version:

OpenAPI definitions and converters for 'typia' and 'nestia'.

7 lines (6 loc) 350 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._isFormatIdnEmail = void 0; const _isFormatIdnEmail = (str) => PATTERN.test(str); exports._isFormatIdnEmail = _isFormatIdnEmail; const PATTERN = /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i;