module Net::IMAP::ResponseParser::ParserUtils
def match_re(re, name)
def match_re(re, name) assert_no_lookahead if config.debug? if re.match(@str, @pos) @pos = $~.end(0) $~ else parse_error("invalid #{name}") end end
def match_re(re, name) assert_no_lookahead if config.debug? if re.match(@str, @pos) @pos = $~.end(0) $~ else parse_error("invalid #{name}") end end