Mode Matching Analysis of Planar Discontinuities