fork download
  1. # your code goes here
  2. from re import compile
  3. from sys import stdin
  4.  
  5. regex = compile(r'([^.* ]?Memory - START UC1)')
  6.  
  7. for line in stdin.readlines():
  8. line = line.strip()
  9. print regex.findall(line)
Success #stdin #stdout 0.08s 8840KB
stdin
<6>[16495.700255]
Memory - START UC1
<4>16495.723327 C0  Memory - START UC1
<4>[16495.723327] C0 [             sh] Memory - START UC1
stdout
[]
['Memory - START UC1']
['Memory - START UC1']
['Memory - START UC1']