ppx_regexpversion Documentation on ocaml.org
Matching Regular Expressions with OCaml Patterns
This syntax extension turns
match%pcre x with
| {|re1|} -> e1
...
| {|reN|} -> eN
| _ -> e0into suitable invocations to the ocaml-re library.  The patterns are plain
strings of the form accepted by Re_pcre, except groups can be bound to
variables using the syntax (?<var>...).  The type of var will be
string if a match is of the groups is guaranteed given a match of the
whole pattern, and string option if the variable is bound to or nested
below an optionally matched group.
| Author | Petter A. Urkedal <paurkedal@gmail.com> | 
|---|---|
| License | LGPL-3.0-only WITH OCaml-LGPL-linking-exception | 
| Published | |
| Homepage | https://github.com/paurkedal/ppx_regexp | 
| Issue Tracker | https://github.com/paurkedal/ppx_regexp/issues | 
| Maintainer | paurkedal@gmail.com | 
| Dependencies | 
 | 
| Source [http] | https://github.com/paurkedal/ppx_regexp/releases/download/v0.3.2/ppx_regexp-0.3.2.tbz sha256=318e6dcfd9b7faa75d5b54f91a44d7a976c95122a0e35a0497db5d790479e806 md5=e98e79d9e72803f69c81282cceabdaaa | 
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ppx_regexp/ppx_regexp.0.3.2/opam | 
No package is dependent
 
          


