andersonfreitas / vaadin-masked-textfield

A MaskedTextfield for Vaadin
http://vaadin.com/addon/maskedtextfield
Apache License 2.0
13 stars 24 forks source link

Support regexp masks #6

Open andersonfreitas opened 13 years ago

andersonfreitas commented 13 years ago

As an developer, I would like to specify the component mask using an regexp pattern. An example would be [Aa]/[0-2]-[0-3][AaBbCc].

Custom mask characters can be defined by standard regular expression character set or range. For example, a hexadecimal color code mask could be: Color: #>[0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F](from http://www.smartclient.com/smartgwt/showcase/#form_masking , reported by Jean-Michel Delsaux)