mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
- invalid_float 메시지 추가
- 파일 용량 설정의 룰셋 추가 수정 - XML Filter에서 float를 처리할 수 있도록 룰세 추가
This commit is contained in:
parent
46278a886b
commit
61c54504ef
9 changed files with 14 additions and 5 deletions
|
|
@ -92,7 +92,7 @@ class Validator
|
|||
'alpha' => '/^[a-z]*$/i',
|
||||
'alpha_number' => '/^[a-z][a-z0-9_]*$/i',
|
||||
'number' => '/^(?:[1-9]\\d*|0)$/',
|
||||
'float' => '/^\d*(\.?\d*)$/'
|
||||
'float' => '/^\d+(\.\d+)?$/'
|
||||
));
|
||||
|
||||
$this->_has_mb_func = is_callable('mb_strlen');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue