added utility classes for regular expressions