run code in regexes