Changed regex for function search