package ecma-regex

  1. Overview
  2. Docs
ECMAScript regular expressions for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=490218bd6293e9ac3853d8752a31f49b
sha512=7e2e32c42d5e61a95c2f03bff830e08f260e7bcb40076b2092aab3de2afca3e197dfedaa6fc1b7f2b2b46defd458ebc5edf1d60eb2dea04493ec1c371c63e6d2

doc/CHANGES.html

Changes

0.1.0 - 2026-05-17

Initial release.

  • Add an explicit OCaml API for ECMAScript RegExp syntax, matching semantics, stateful lastIndex behavior, adapter operations, and raw UTF-16 ECMAScript String inputs.
  • Support Unicode property escapes, captures, named captures, backreferences, assertions, quantifiers, RegExp.escape, search, match, matchAll, split, replace, and replaceAll style operations.
  • Add generated Unicode runtime tables pinned to UCD 16.0.0.
  • Add stable conformance documentation covering normative hierarchy, conformance status, test evidence, and documented deviations.
  • Add ECMA-262, Test262, UCD, raw UTF-16, and JSON Schema regex-facing evidence tests.
  • Add reproducible evidence tooling for rebuilding and auditing the release evidence.
  • Keep default dune runtest self-contained for clean opam --with-test builds, with generated evidence and external corpus checks available through the explicit @test/evidence local gate.

This package provides an explicit OCaml API. It does not embed a JavaScript runtime and does not claim JavaScript object, prototype, constructor, receiver-coercion, or callable-replacer dispatch.