this repo has no description
1opam-version: "2.0"
2maintainer: "Petter A. Urkedal <paurkedal@gmail.com>"
3authors: [
4 "Petter A. Urkedal <paurkedal@gmail.com>"
5 "Gabriel Radanne <drupyog@zoho.com>"
6]
7license: "LGPL-3.0-or-later WITH LGPL-3.0-linking-exception"
8homepage: "https://github.com/paurkedal/ppx_regexp"
9bug-reports: "https://github.com/paurkedal/ppx_regexp/issues"
10depends: [
11 "ocaml" {>= "4.02.3"}
12 "dune" {>= "1.11"}
13 "ppxlib" {>= "0.9.0" & < "0.36.0"}
14 "re" {>= "1.7.2"}
15 "qcheck" {with-test}
16]
17build: ["dune" "build" "-p" name "-j" jobs]
18dev-repo: "git+https://github.com/paurkedal/ppx_regexp.git"
19synopsis: "Matching Regular Expressions with OCaml Patterns"
20description: """
21This syntax extension turns
22
23 match%pcre x with
24 | {|re1|} -> e1
25 ...
26 | {|reN|} -> eN
27 | _ -> e0
28
29into suitable invocations to the ocaml-re library. The patterns are plain
30strings of the form accepted by `Re_pcre`, except groups can be bound to
31variables using the syntax `(?<var>...)`. The type of `var` will be
32`string` if a match is of the groups is guaranteed given a match of the
33whole pattern, and `string option` if the variable is bound to or nested
34below an optionally matched group.
35"""
36url {
37 src:
38 "https://github.com/paurkedal/ppx_regexp/releases/download/v0.5.1/ppx_regexp-v0.5.1.tbz"
39 checksum: [
40 "sha256=25083bc47c6ca224b52d958e3272c938c1115895446ed526ca330f03a2d50ca8"
41 "sha512=e9e8888b8f4cf4f7b2aab38af8e835f716a5b973b7a48ae329daafcc80b705bc8f839f6f76364699804903cc7f9ae6d5d69d9cf0f257c007558ff9f0fbf6d357"
42 ]
43}
44x-commit-hash: "6d583527146f117d0ba06a0fd3e070bcc8b83fe3"