added class description for regex validator