package mcp-kit

All checked builds pass
  1. Overview
  2. Docs
OCaml library for building MCP servers

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-mcp-v0.2.0.tar.gz
sha256=43c8319a13be91e323ae952a71ab673533fb3295886029eed9d81e5828de5ef7

doc/mcp-kit.jsonschema-core/Jsonschema_core/Regex/index.html

Module Jsonschema_core.RegexSource

Regex engine abstraction.

Wraps ECMAScript regular-expression semantics behind a module boundary. JSON Schema patterns are compiled with explicit ECMAScript Unicode-mode behavior and are not implicitly anchored.

Sourcetype t

A compiled regular expression.

Sourceval compile : string -> (t, string) result

Compile a regex pattern string. Returns Error if the pattern is invalid. JSON Schema regexes are NOT implicitly anchored.

Sourceval matches : t -> string -> bool

Test whether the regex matches anywhere in the string. Per JSON Schema spec, patterns are NOT anchored.