regex updated according to merge conflict

This commit is contained in:
Susann Sgorzaly
2018-02-19 14:09:30 +01:00
parent 91091ac933
commit f1a89127c2

View File

@@ -23,7 +23,7 @@ class DatatypeEnum
const TYPE_DATE = 'date';
const REGEX_FLOAT = '/^[+-]?([0-9]*[.,])?([0-9]|[.,][0-9])+$/';
const REGEX_FLOAT = '/(^[+-]?$)|(^[+-]?[0-9]+([,.][0-9])?[0-9]*(e[+-]?[0-9]+)?$)/';
const REGEX_INT = '/^[-+]?[0-9]\d*$/';