Exception: DataRedactor::InvalidPatternError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/data_redactor.rb

Overview

Raised by add_pattern when the supplied regex is not valid POSIX ERE, uses Ruby-only syntax (\d, \s, lookaround, non-greedy, etc.), or contains capture groups while boundary: true is requested.