basic regex validation in config dialog