I want to finish this thread up in case other people want to find out whether this ended up working or not.
Thank you Daniel for the help. I ended up using the following (excluding the quotes) in ant. "^LOOK FOR ME//s+AND ME" I used //s+ since the text files I am parsing could contain both "/r" and "/n". Again, thank you. Daniel -----"Daniel F. Savarese" <[EMAIL PROTECTED]> wrote: ----- To: "ORO Users List" <[email protected]> From: "Daniel F. Savarese" <[EMAIL PROTECTED]> Date: 11/17/2005 05:54PM Subject: Re: ant/JakartaOroRegexp multiline question I wrote: >You need to account for the newline because $ and ^ are zero-length >positional expressions (i.e., put \n between the $ and the ^). Keep I forgot to add that the the $ and ^ are redundant once you put the \n in between them, so you should use ^LOOK FOR ME\nAND ME$ as the expression. daniel -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- s a v a r e s e # In distant lands, I hear the call of my home. software research # Yet my work is not done. My journey's just begun. http://www.savarese.com/# -- http://www.sleepandthetraveller.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
