/**
* Accepts a token from the end tag mode.
* The element name is converted to lower case.
* @param string $token Incoming characters.
* @param integer $event Lexer event type.
* @return boolean False if parse error.
* @access public
*/
function acceptEndToken($token, $event)
{
if (!preg_match('/<\\/(.*)>/', $token, $matches)) {
return false;
}
return $this->listener->endElement(strtolower($matches[1]));
}