All pastes #946774 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-17 23:00 UTC
rendered paste body
import re
...

trace = re.compile('TRACE\\|TRACK')
if line.startswith("results"):
  line = line.rstrip()
  trace.sub('TRACETRACK',line,count=1)
  line = line.split('|')