class Embulk::Guess::TimeFormatGuess::RegexpPattern

def initialize(regexp, format)

def initialize(regexp, format)
  @regexp = regexp
  @match = SimpleMatch.new(format)
end

def match(text)

def match(text)
  if @regexp =~ text
    return @match
  else
    return nil
  end
end