class Rouge::Lexers::Escape

def to_end_regex

def to_end_regex
  @to_end_regex ||= /(.*?)(#{Regexp.escape(@end)})/m
end