Module Values.OptionRestrictionRegexSource

A regular expression representing a restriction on a string configuration option value.

Sourcetype nonrec t = {
  1. pattern : RegexPattern.t option;
    (*

    The regular expression pattern that a string configuration option value with this restriction must match.

    *)
  2. label : RegexLabel.t option;
    (*

    A unique name representing this regular expression.

    *)
}
Sourceval make : ?pattern:??? -> ?label:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RegexPattern.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t