UNPKG

@samchon/openapi

Version:

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

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