Polishing support for regular expressions