Lines Matching +full:sub +full:- +full:group
2 # SPDX-License-Identifier: GPL-2.0
8 Those help caching regular expressions and do matching for kernel-doc.
22 regular expressions and define sub at class init time.
128 def sub(self, sub, string, count=0):
130 Alias to re.sub.
133 return self.regex.sub(sub, string, count=count)
135 def group(self, num):
137 Returns the group results of the last match.
140 return self.last_match.group(num)
144 Returns the group results of the last match