opam-version: "2.0"
maintainer: "jerome.vouillon@pps.univ-paris-diderot.fr"
authors: [
  "Jerome Vouillon"
  "Thomas Gazagnaire"
  "Anil Madhavapeddy"
]
homepage: "https://github.com/ocaml/ocaml-re"
bug-reports: "https://github.com/ocaml/ocaml-re/issues"
license: "LGPL-2.0-only with OCaml-LGPL-linking-exception"
dev-repo: "git+https://github.com/ocaml/ocaml-re.git"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "re"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  "base-bytes"
  "ocamlbuild" {build}
]
synopsis: "RE is a regular expression library for OCaml"
description: """
Pure OCaml regular expressions with:
* 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)
* Compatibility layer for OCaml's built-in Str module (module Re_str)"""
flags: light-uninstall
url {
  src: "https://github.com/ocaml/ocaml-re/archive/ocaml-re-1.3.2.tar.gz"
  checksum: "md5=1622796daf07397b266738e6710db4f3"
}
