@canard/schema-form
Version:
React-based component library that renders forms based on JSON Schema with plugin system support for validators and UI components
12 lines (11 loc) • 448 B
TypeScript
/**
* Regular expression for finding JSON path format
* @example Finds patterns like './property', '../property', '#/property', '/property'
*/
export declare const JSON_POINTER_REGEX: RegExp;
/**
* Regular expression for finding JSON path format with index patterns
* Finds valid JSON Pointer paths that contain * as standalone segments
* @example Matches '#/property/*' or '/property/*'
*/
export declare const INCLUDE_INDEX_REGEX: RegExp;