Ussd.Decisions.Regex (Ussd v0.2.0)

Copy Markdown View Source

Matches when the input matches pattern, e.g. Regex.new(~r/^[0-9]{4}$/).

Summary

Types

t()

@type t() :: %Ussd.Decisions.Regex{pattern: Regex.t()}

Functions

new(pattern)

@spec new(Regex.t()) :: t()