Attempt to fix regex to only add override to functions with ButtonPressed in name.