开发者

flags in flex regexpvalidator

开发者 https://www.devze.com 2023-04-04 23:10 出处:网络
can 开发者_JS百科anyone please explain me what is the use of flag variable in the flex RegExpValidator.

can 开发者_JS百科anyone please explain me what is the use of flag variable in the flex RegExpValidator. what I am to do is to create a validator that can provide variety of error messages as in EmailValidator


These have nothing to do with output messages. It's to specify the behavior of the regexp matcher. Here is the list of available flags: http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7ea7.html

If you want to build a more complex validator you'll have to extend Validator from scratch.

0

精彩评论

暂无评论...
验证码 换一张
取 消