Class for creating regular expressions in native way