Nov-18-2022, 12:28 AM
Good evening!
I'm trying to match two words and the "(" in a line.
these are" FAILED (Exit ", there is a space before the FAILED and after the Exit
here is what I come up with and it does not work...
the regex probably looks laughable to you but that is my level of skills with regex for now.
Sorry about that. All help appreciated.
Tester.
I'm trying to match two words and the "(" in a line.
these are" FAILED (Exit ", there is a space before the FAILED and after the Exit
here is what I come up with and it does not work...

1 2 3 |
if re.search( "\sFAILED\s\(Exit" ,el) : print ( f " ++===={el}" ) filtered.write( f "{el}" + "\n" ) |
Sorry about that. All help appreciated.
Tester.