Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. pattern = re.compile("(?<=run=)[0-9]")
  2. pattern1 = re.compile("(?<=errors=)[0-9]")
  3. pattern2 = re.compile("(?<=failures=)[0-9]")
  4. pattern3 = re.compile("")
  5. matches = pattern.finditer(lines[1])
  6. matches1= pattern1.finditer(lines[1])
  7. matches2= pattern2.finditer(lines[1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement