function params regex update