CustomHtmlForm\Validation\CheckFormData::isEmailAddress
Checks, whether the given string matches basicly an email address.
The rule is: one or more chars, then '@', then two ore more chars, then '.', then two or more chars. This matching was simplified because the stricter version did not match some special cases.
- Author: Sascha Koehler <skoehler@pixeltricks.de>, Sebastian Diel <sdiel@pixeltricks.de>
Signature
public function isEmailAddress(boolean
$expectedResult )
Parameters
$expectedResult
— boolean- Das erwartete Resultat.
Returns
- array