ppx_orakuda

ORakuda, Perlish string literals in OCaml
Library ppx_orakuda_plugin
Module Lexrex
type token
type typ = {
num_of_groups : int;
named_groups : (string * int) list;
callouts : int list;
named_callouts : (string * int) list;
}
val from_string : string -> string * token list * string

Parse "regexp". Returns regexp in string and tokens, and its flags

val replace_from_string : string -> string * token list * string
val type_regexp : token list -> typ
val string_of_tokens : typ -> token list -> string