Class: HomographicSpoofing::Detector::Rule::QuotedString::NonspacingMarks

Inherits:
Base
  • Object
show all
Defined in:
lib/homographic_spoofing/detector/rule/quoted_string/nonspacing_marks.rb

Overview

Instance Method Summary collapse

Instance Method Details

#attack_detected?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/homographic_spoofing/detector/rule/quoted_string/nonspacing_marks.rb', line 3

def attack_detected?
  nonspacing_marks_regexp.match?(label)
end