this repo has no description
1opam-version: "2.0" 2maintainer: "paurkedal@gmail.com" 3authors: "Petter A. Urkedal <paurkedal@gmail.com>" 4homepage: "https://github.com/paurkedal/ppx_regexp" 5bug-reports: "https://github.com/paurkedal/ppx_regexp/issues" 6license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception" 7dev-repo: "git+https://github.com/paurkedal/ppx_regexp.git" 8build: [ 9 "jbuilder" "build" "--root" "." "-j" jobs 10 "--no-config" {jbuilder:version >= "1.0+beta18"} 11 "@install" 12] 13depends: [ 14 "ocaml" {>= "4.02.3"} 15 "jbuilder" 16 "ocaml-migrate-parsetree" {< "2.0.0"} 17 "re" {< "1.7.2~"} 18 "ppx_tools_versioned" 19 "topkg-jbuilder" {build} 20] 21synopsis: "Matching Regular Expressions with OCaml Patterns" 22description: """ 23This syntax extension turns 24 25 match%pcre x with 26 | {|re1|} -> e1 27 ... 28 | {|reN|} -> eN 29 | _ -> e0 30 31into suitable invocations of the ocaml-re library. The patterns are plain 32strings of the form accepted by `Re_pcre`, with the following additions: 33 34 - `(?<var>...)` defines a group and binds whatever it matches as `var`. 35 The type of `var` will be `string` if the match is guaranteed given that 36 the whole pattern matches, and `string option` if the variable is bound 37 to or nested below an optionally matched group. 38 39 - `?<var>` at the start of a pattern binds group 0 as `var : string`. 40 This may not be the full string if the pattern is unanchored. 41 42A variable is allowed for the universal case and is bound to the matched 43string. A regular alias is currently not allowed for patterns, since it is 44not obvious whether is should bind the full string or group 0.""" 45url { 46 src: 47 "https://github.com/paurkedal/ppx_regexp/releases/download/v0.3.1/ppx_regexp-0.3.1.tbz" 48 checksum: [ 49 "sha256=adb6088930a3abd3a61a112e3d57f30fa4f4669b9897f0c5f3f98550ff755228" 50 "md5=aa1a1aa9e89ec38f2b0596877c9f2819" 51 ] 52}