Matching asymptotics in path-dependent option pricing