Home | History | Annotate | Download | only in ltp

Lines Matching refs:re

23 import re
74 status_line_re = re.compile('^\w+ +\d+ +(\w+) +: +\w+')
78 'terminator': re.compile(marker_line % 'test_output')},
80 'terminator': re.compile(marker_line % 'execution_status')})
87 if re.match(parse_states[state_index]['terminator'], line):
92 m = re.match(status_line_re, line)
142 test_tag_line_re = re.compile('^tag=(\w+)\s+stime=(\d+)$')
143 test_duration_line_re = re.compile('^duration=(\d+)\s+.*')
150 tag_matches = re.match(test_tag_line_re, line)
158 duration_matches = re.match(test_duration_line_re, line)