You can search for identifiers within the package.
in-package search v0.2.0
oxbow.core
Oxbow_core.Pattern
module Case : sig ... end
val re_compile : case:Case.t -> string -> (Re.re, string) result
re_compile ~case s compiles s as a PCRE regex with the case flag of case.
re_compile ~case s
s
case
val matches : case:Case.t -> pattern:string option -> string -> bool
matches ~case ~pattern str is true when pattern is absent, or when its regex matches str. Is false when the regex is malformed, logging an error.
matches ~case ~pattern str
true
pattern
str
false
val compile_specs : case:Case.t -> (string option * ('a -> string list)) list -> ('a -> bool, string) result
compile_specs ~case specs compiles specs into a matching function.
compile_specs ~case specs
specs