Lines Matching full:line
63 for line in open(path):
65 line = unicode(line, 'utf-8')
67 if descriptions and line.startswith('Maintainers'):
69 # Ensure a blank line following the last "|"-prefixed line.
75 if re.search('^[A-Z0-9]', line):
79 line = line.rstrip()
83 m = re.search(pat, line)
86 line = re.sub(pat, ':doc:`%s <../%s>`' % (m.group(2), m.group(2)), line)
92 output = "| %s" % (line.replace("\\", "\\\\"))
95 m = re.search("\s(\S):\s", line)
99 m = re.search("\*([^\*]+)\*", line)
104 if len(line) == 0:
107 if line[1] != ':':
117 heading = re.sub("\s+", " ", line)
124 field, details = line.split(':', 1)
146 output = line
154 if line.startswith('----------'):
160 # Retain previous line for state machine transitions.
161 prev = line