SensitiveScrubUtils constructor

const SensitiveScrubUtils(
  1. RegExp pattern,
  2. String replacement
)

Creates a rule that replaces every match of pattern with replacement. Audited: 2026-06-12 11:26 EDT

Implementation

const SensitiveScrubUtils(this.pattern, this.replacement);