cmu-mars / brass-unlogger

post process logs from lincoln tests into summary data
0 stars 0 forks source link

regex #4

Open ivoysey opened 7 years ago

ivoysey commented 7 years ago

i needed sim_time_pattern = re.compile('sim_time..: ..(\d+)') to capture 9 from the string sim_time\": \"9\", but some code bradley wrote uses sim_time_pattern = re.compile('sim_time.: .(\d+)') and seems to work fine? i don't understand why that should be.