Flexible mask length

Hello, I'm using your plugin to create generic masks, like "only letters", "only numbers". It's more simple than use regex and clean the wrong chars.

I don't know if you want to merge, or use the idea in other way, but the change was made on that commit :).

Thanks for the plugin :+1: .

[]'s