Method: Recog::Fingerprint#regex

Defined in:
lib/recog/fingerprint.rb

#regexRegexp (readonly)

Regular expression pulled from the DB xml file.

Returns:

  • (Regexp)

    the Regexp to try when calling #match

See Also:

  • #create_regexp


21
22
23
# File 'lib/recog/fingerprint.rb', line 21

def regex
  @regex
end