> /^#### Message start.*Message ends ####/s > > This somehow does not return me the correct number of multiple lines. Any >better suggestions please?
You probably need to use the /ms modifier or just ditch the ^. /s by itself means that ^ will only match at the beginning of the input, not right after newlines. You need /sm for . to match any character including newlines and for ^ and $ to match just after and just before newlines. See the Perl perlre man page for additional details. daniel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
