Re: pcregrep question

2016-06-26 Thread bruce
oh.. my bad.. sorry.. here's what I developed to solve my issue in case others need it pcregrep -M 'urllib.quote_plus\(simplejson.dumps\(b2\)\).*\n.*path *Parse_cloud_test.py this allows for searching for content across multiple lines (across a \n newline) On Sun, Jun 26, 2016 at 3:17 AM, w

Re: pcregrep question

2016-06-26 Thread cs
On 24Jun2016 10:57, bruce wrote: I've got a test file, with the following lines. Basically, I want a grep/regex to traverse the multiple lines to return the lines. ll_=urllib.quote_plus(simplejson.dumps(b2))+"\n" pathchildcount_filep.write(ll_) I've tried a number of attempts.. I thought somet

pcregrep question

2016-06-24 Thread bruce
Hi. I'm embarrassed to say I can't resolve this. So, my mind has gone blank! I've got a test file, with the following lines. Basically, I want a grep/regex to traverse the multiple lines to return the lines. ll_=urllib.quote_plus(simplejson.dumps(b2))+"\n" pathchildcount_filep.write(ll_) I've t