protected function Parser::escaped in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/egulias/email-validator/src/Egulias/EmailValidator/Parser/Parser.php \Egulias\EmailValidator\Parser\Parser::escaped()
2 calls to Parser::escaped()
- LocalPart::parseDoubleQuote in vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ Parser/ LocalPart.php - Parser::isFWS in vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ Parser/ Parser.php
File
- vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ Parser/ Parser.php, line 121
Class
Namespace
Egulias\EmailValidator\ParserCode
protected function escaped() {
$previous = $this->lexer
->getPrevious();
if ($previous['type'] === EmailLexer::S_BACKSLASH && $this->lexer->token['type'] !== EmailLexer::GENERIC) {
return true;
}
return false;
}