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
|
@@ 66-73 (lines=8) @@
|
63 |
|
/** |
64 |
|
* @return bool |
65 |
|
*/ |
66 |
|
protected function escaped() |
67 |
|
{ |
68 |
|
$previous = $this->lexer->getPrevious(); |
69 |
|
|
70 |
|
return $previous && $previous['type'] === EmailLexer::S_BACKSLASH |
71 |
|
&& |
72 |
|
$this->lexer->token['type'] !== EmailLexer::GENERIC; |
73 |
|
} |
74 |
|
|
75 |
|
/** |
76 |
|
* @return bool |