Lines Matching +full:sub +full:- +full:group
2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8; mode: python -*-
7 maintainers-include
10 Implementation of the ``maintainers-include`` reST-directive.
15 The ``maintainers-include`` reST-directive performs extensive parsing
32 app.add_directive("maintainers-include", MaintainersInclude)
40 u"""MaintainersInclude (``maintainers-include``) directive"""
44 """Parse all the MAINTAINERS lines into ReST for human-readability"""
67 # Ensure a blank line following the last "|"-prefixed line.
73 if re.search('^[A-Z0-9]', line):
79 # Linkify all non-wildcard refs to ReST files in Documentation/.
84 line = re.sub(pat, ':doc:`%s <../%s>`' % (m.group(2), m.group(2)), line)
95 field_letter = m.group(1)
99 fields[field_letter] = m.group(1)
115 heading = re.sub(r"\s+", " ", line)
146 # Re-split on any added newlines in any above parsing.
152 if line.startswith('----------'):
167 # For debugging the pre-rendered results...