On Wed, Jul 20, 2005 at 06:19:02PM -0700, Duane Blanchard wrote: > As I recall, I'll use the 'm' flag to hand the RE more than one > line, and '\s' should handle '\n'. Specifically, the //m flag just changes what ^ and $ match. The //s flag just changes what . matches. Either or both may be needed.