Mirrors Rust MatchRule (template.rs:189-200).
Summary
Types
@type match_kind() :: :contains | :exact | :regex
@type match_occurrence() :: :first | :last | :unique | :nth
@type match_scope() :: :auto | :line | :file
@type t() :: %GgenIgniter.Frontmatter.MatchRule{ case_sensitive: boolean(), index: non_neg_integer(), matcher: match_kind(), occurrence: match_occurrence(), pattern: String.t(), scope: match_scope(), trim: boolean() }