class Tins::LinesFile

def match_backward(regexp, previous_after_match = false)

def match_backward(regexp, previous_after_match = false)
  begin
    if line =~ regexp
      previous_after_match and previous!
      return $~.captures
    end
  end while previous!
end