UNPKG

@samchon/openapi

Version:

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

7 lines (6 loc) 271 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._isFormatJsonPointer = void 0; const _isFormatJsonPointer = (str) => PATTERN.test(str); exports._isFormatJsonPointer = _isFormatJsonPointer; const PATTERN = /^(?:\/(?:[^~/]|~0|~1)*)*$/;