From: Rob Biedenharn Date: 2007-05-24T06:31:24+09:00 Subject: Re: Odd Regexp Issue On May 23, 2007, at 5:10 PM, Kyle Heck wrote: > Well, that seemed to do the trick :D > > Thanks a lot, I didn't know that regexp only applied to one line by > default, HRM! > > Thanks, > Kyle Heck Actually, it is the . expression that doesn't match a newline without the 'm' option. That option just changes '.' from matching "any character except a newline" to matching "any character". The Regular Expression section of chapter 22 in the pickaxe covers all this (p. 324-328) -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com