Add getRegex method to get generated regex expresion.