We present a theory of intersection on the complex projective line for homology and cohomology groups defined by connections which are regular or not. We apply this theory to confluent hypergeometric functions, and obtain, as an analogue of period relations, quadratic relations satisfied by confluent hypergeometric functions.