adding base classes for regex