I want to use validation of model properties in extbase via regex and using the following syntax:
/**
*
*@var string $telephone
*@validate RegularExpression('/^[0-9]+$/')
*/
$protected $telephone;
But I keep getting a validation error, irrespective of the value of $telephone variable.What am I doing wrong?