Irregular methods for regular expressions