package oxbow

  1. Overview
  2. Docs
Dynamic window manager for the river Wayland compositor

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801

doc/oxbow.core/Oxbow_core/Pattern/index.html

Module Oxbow_core.PatternSource

Sourcemodule Case : sig ... end
Sourceval 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.

Sourceval 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.

Sourceval 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.