added class for regular expressions