package pcre2
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Bindings to the Perl Compatibility Regular Expressions library (version 2)
Install
dune-project
Dependency
github.com
Readme
Changelog
LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception License
Edit opam file
Versions (6)
Authors
Maintainers
Sources
8.0.4.tar.gz
sha512=cafe7c61f4aa90063fe7cb12a50905dbf0cfaa1636456cca25e2f3bf6a385b3d23618b451c6e986970c310f7ac20e13c3b8ba76ee579288849298eb7737797ce
doc/CHANGELOG.html
Changelog
[8.0.4] - 2025-10-19
Added
- Provide a
make testconvenience target and generatelib/compile_commands.jsonto streamline running the suite and IDE integration. - Introduce GitHub automation (Dependabot updates plus linting, formatting, and pre-commit workflows) mirroring the original
pcre-ocamlproject.
Changed
- Reorganize the repository to match the upstream layout, moving library sources to
lib/, refreshing documentation, and updating example descriptions.
Fixed
- Ensure the
Pcre2.BadPatternexception allocates short OCaml strings to avoid trailing garbage or embedded NUL bytes in error messages. - Correct the offset-vector pointer cast in
pcre2_stubs.cto remove undefined behavior when copying match offsets.
[8.0.3] - 2025-02-15
Fixed
- Make
caml_alloc_somestatic to prevent clashes with thepcrepackage when targeting OCaml 4.08-4.11.
[8.0.2] - 2024-12-26
Added
- Restore compatibility with OCaml 4.08 through 4.11. Thanks to @nojb.
[8.0.1] - 2024-12-20
Changed
- Merge the legacy
pcre-ocamlchanges intopcre2-ocaml.
Fixed
- Correct
full_splitso that non-capturing groups are identified properly.
[7.5.3] - 2024-12-23
Fixed
- Address the
full_splitregression. Thanks to @mmottl.
[7.5.2] - 2023-09-06
Added
- Introduce the initial unit test that exercises
full_split.
Fixed
- Resolve the
full_splitbug affecting split classification.
[7.5.1] - 2023-09-01
Added
- Create the initial
pcre2-ocamlbindings derived from the originalpcre-ocamlproject.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page