[ 'name' => 'Regex', 'options' => [ 'pattern' => '/^[-0-9]+(.[0-9]{1,2})?$/', 'messages' => [ \Laminas\Validator\Regex::NOT_MATCH => 'tr_moduletpl_value_must_numeric' ], 'encoding' => 'UTF-8', ], ]
info at phpclasses dot org