Use look-behind for whitespace before functions

This will no longer capture the whitespace leading
up to a function name.