mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 18:02:15 +09:00
Fixed unicode problem
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9000 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d9ebb8f55a
commit
2fe6b927d6
1 changed files with 2 additions and 2 deletions
|
|
@ -33,11 +33,11 @@ var Validator = xe.createApp('Validator', {
|
|||
this.cast('ADD_RULE', ['homepage', regUrl]);
|
||||
|
||||
// korean
|
||||
var regKor = /^[가-힣]*$/;
|
||||
var regKor = new RegExp('^[\uAC00-\uD7A3]*$');
|
||||
this.cast('ADD_RULE', ['korean', regKor]);
|
||||
|
||||
// korean_number
|
||||
var regKorNum = /^[가-힣0-9]*$/;
|
||||
var regKorNum = new RegExp('^[\uAC00-\uD7A30-9]*$');
|
||||
this.cast('ADD_RULE', ['korean_number', regKorNum]);
|
||||
|
||||
// alpha
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue