Added support for raw function pointers instead of lambdas in the match() function