A planar periodically corrugated waveguide, consisting of a grating and a mirror and integrating a hollow waveguide and a photonic band-gap structure into a single compact optical element, is shown to enhance coherent anti-Stokes Raman scattering (CARS) in molecular nitrogen. Cross-correlation measurements, intended to visualize group-delay effects in the photonic band-gap waveguide and performed with picosecond Nd : YAG laser pulses, and also the measured dependence of CARS efficiency on the thickness of the waveguide layer, indicate that CARS enhancement under these conditions is at least partially due to the decrease in the group velocity of pump pulses around the photonic band gap.