Module Regex.Multiple
- val create : ?options:Options.t -> (string * 'a) list -> 'a t Core_kernel.Or_error.t
- create ?options [ (pattern1, value1); (pattern2, value2); ...]associates each- patternwith its- value. The same- optionsare used for all patterns.
- val create_exn : ?options:Options.t -> (string * 'a) list -> 'a t
- val matches : 'a t -> string -> 'a list
- matches t inputreturns the values associated with those patterns that match the- input. Values are in the order that- createsaw them.
- val matches_no_order : 'a t -> string -> 'a list
- Like - matches, but values are listed in unspecified order.