The devel/ocaml-re port
ocaml-re-1.4.1 – regular expression library for OCaml
Description
RE is a regular expression library for OCaml. It is still under
developpement, but is already rather usable.
The following styles of regular expressions are supported:
- Perl-style regular expressions (module Re_perl);
- Posix extended regular expressions (module Re_posix);
- Emacs-style regular expressions (module Re_emacs);
- Shell-style file globbing (module Re_glob).
It is also possible to build regular expressions by combining simpler
regular expressions (module Re)
The most notable missing features are back-references and
look-ahead/look-behind assertions.
There is also a subset of the PCRE interface available in the Re.pcre
library. This makes it easier to port code from that library to Re
without any changes beyond replacing the `pcre` findlib package with
`re.pcre`.
WWW: https://github.com/ocaml/ocaml-re/
- Categories:
-
devel
Library dependencies
Build dependencies
Run dependencies