class Utils::Patterns::FuzzyPattern

def initialize(opts ={})

def initialize(opts ={})
  super
  r = @pattern.split(//).grep(/[0-9a-z]/).map { |x|
    "(#{Regexp.quote(x)})"
  } * '.*?'
  @matcher = Regexp.new(
    "\\A(?:.*/.*?#{r}|.*#{r})",
    @icase ? Regexp::IGNORECASE : 0)
end