Fix regex for builtin functions