You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, I kindly ask for a support. I need to search in mid-size text files (one at the time, 50/60 MB size) for regexp that search for 2 strings one "near" the other.
The use case is to automatically search for patterns (request/answer) in log files.
Hi all, I kindly ask for a support. I need to search in mid-size text files (one at the time, 50/60 MB size) for regexp that search for 2 strings one "near" the other.
The use case is to automatically search for patterns (request/answer) in log files.
Example:
text file fragment
First i search for the request pattern using theexample code with this "regexp" and i find the expected result:
Then i search for the req/ans pattern where the result involve search in multiple lines and it finds nothing:
Using the same regexp in notepad++ search returns the expected results:
![image](https://user-images.githubusercontent.com/1832999/49134578-50fca500-f2e4-11e8-8897-92de902fd41b.png)
Can someone kindly give me an hint (i'm not an expert programmer i'm writing just few lines of code to automate field tests) ?
Thanks a lot
The text was updated successfully, but these errors were encountered: