EmailValidator/Parser/FoldingWhiteSpace.php 1 location
|
@@ 83-90 (lines=8) @@
|
80 |
|
/** |
81 |
|
* @return bool |
82 |
|
*/ |
83 |
|
protected function escaped() |
84 |
|
{ |
85 |
|
$previous = $this->lexer->getPrevious(); |
86 |
|
|
87 |
|
return $previous && $previous['type'] === EmailLexer::S_BACKSLASH |
88 |
|
&& |
89 |
|
$this->lexer->token['type'] !== EmailLexer::GENERIC; |
90 |
|
} |
91 |
|
|
92 |
|
} |
EmailValidator/Parser/Parser.php 1 location
|
@@ 147-154 (lines=8) @@
|
144 |
|
/** |
145 |
|
* @return bool |
146 |
|
*/ |
147 |
|
protected function escaped() |
148 |
|
{ |
149 |
|
$previous = $this->lexer->getPrevious(); |
150 |
|
|
151 |
|
return $previous && $previous['type'] === EmailLexer::S_BACKSLASH |
152 |
|
&& |
153 |
|
$this->lexer->token['type'] !== EmailLexer::GENERIC; |
154 |
|
} |
155 |
|
|
156 |
|
/** |
157 |
|
* @return bool |