Reputation: 15217
I wanted to use a regular expression that covers multiple lines to search in the google appengine log console. I've tried:
firstpart.*\n(.*\n)+.*secondpart
firstpart.*$(.*$)+.*secondpart
but neither of these work. Does anyone know if this is possible?
Thanks, Richard
Upvotes: 0
Views: 406
Reputation: 15217
\n will work when searching inside the logs but not between the top line of the log of the form
2011-06-23 10:07:24.522 /users/action?key=agl5cmVjZWlwdHNyEgsmljZRjR5YQDDA 302 ....
and the rest of the logs
Upvotes: 0
Reputation: 1657
Not sure if I'm understanding the question correctly, but to search for line breaks you should use \r\n as opposed to just \n.
Upvotes: 0