added inverse flag to RegExValidator