fix regex for a function call