fix oops in regex change of function()

AKA sorry bro I can't regex for shit lol