ppx_orakuda

ORakuda, Perlish string literals in OCaml
Library ppx_orakuda
class virtual group : (string * int) list -> left:string -> right:string -> last:string option -> string option array -> object ... end

group object to access matched groups

val create : string -> flags:Pcre.cflag list -> ( left:string -> right:string -> last:string option -> string option array -> 'a ) -> 'a t
val replace : 'a t -> templ:string -> ?iflags:Pcre.irflag -> ?flags:Pcre.rflag list -> ?pos:int -> ?callout:Pcre.callout -> string -> string

Type enriched version of Pcre.replace

val replace_first : 'a t -> templ:string -> ?iflags:Pcre.irflag -> ?flags:Pcre.rflag list -> ?pos:int -> ?callout:Pcre.callout -> string -> string

Type enriched version of Pcre.replace_first

val substitute_substrings : ( 'a -> string ) -> 'a t -> ?iflags:Pcre.irflag -> ?flags:Pcre.rflag list -> ?pos:int -> ?callout:Pcre.callout -> string -> string

Type enriched version of Pcre.substitute_substrings

val substitute_substrings_first : ( 'a -> string ) -> 'a t -> ?iflags:Pcre.irflag -> ?flags:Pcre.rflag list -> ?pos:int -> ?callout:Pcre.callout -> string -> string

Type enriched version of Pcre.substitute_substrings_first