@@ -87,7 +87,7 @@ |
||
| 87 | 87 | { |
| 88 | 88 | $matches = []; |
| 89 | 89 | $pattern = '/[.A-Za-z0-9_-]+@[A-Za-z0-9_-]+\.([A-Za-z0-9_-][.A-Za-z0-9_]+)/'; //regex for pattern of e-mail address |
| 90 | - preg_match_all($pattern, $this->textTranscript, $matches); |
|
| 91 | - return count($matches) ? $matches[0] : null; |
|
| 90 | + preg_match_all($pattern, $this->textTranscript, $matches); |
|
| 91 | + return count($matches) ? $matches[0] : null; |
|
| 92 | 92 | } |
| 93 | 93 | } |