Use lookahead for function matching