Current section
Files
Jump to
Current section
Files
lib/xberg/pattern_match.ex
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:ba94fe4cec719c31f8ac484fcc2aba1d30db0f87dea8b1b6d0257417a4a260e2
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.PatternMatch do
@moduledoc "One detected PII span in the input text."
@typedoc "One detected PII span in the input text."
@type t :: %__MODULE__{
start: non_neg_integer(),
end: non_neg_integer(),
category: String.t() | nil,
text: String.t() | nil
}
defstruct start: 0,
end: 0,
category: :email,
text: nil
end