1.1 --- a/lib/_sre.py Sat Dec 03 17:11:59 2016 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,44 +0,0 @@
1.4 -#!/usr/bin/env python
1.5 -
1.6 -CODESIZE = 4
1.7 -MAGIC = 20140812
1.8 -
1.9 -class RegexObject:
1.10 -
1.11 - def __init__(self, flags, groups, groupindex, pattern):
1.12 - self.flags = flags
1.13 - self.groups = groups
1.14 - self.groupindex = groupindex
1.15 - self.pattern = pattern
1.16 -
1.17 - def search(self, string, pos=None, endpos=None): pass
1.18 - def match(self, string, pos=None, endpos=None): pass
1.19 - def split(self, string, maxsplit=0): pass
1.20 - def findall(self, string, pos=None, endpos=None): pass
1.21 - def finditer(self, string, pos=None, endpos=None): pass
1.22 - def sub(self, repl, string, count=0): pass
1.23 - def subn(self, repl, string, count=0): pass
1.24 -
1.25 -class MatchObject:
1.26 -
1.27 - def __init__(self, pos, endpos, lastindex, lastgroup, re, string):
1.28 - self.pos = pos
1.29 - self.endpos = endpos
1.30 - self.lastindex = lastindex
1.31 - self.lastgroup = lastgroup
1.32 - self.re = re
1.33 - self.string = string
1.34 -
1.35 - def expand(self, template): pass
1.36 - def group(self, *groups): pass
1.37 - def groups(self, default=None): pass
1.38 - def groupdict(self, default=None): pass
1.39 - def start(self, group=None): pass
1.40 - def end(self, group=None): pass
1.41 - def span(self, group=None): pass
1.42 -
1.43 -def compile(pattern, flags=0): pass
1.44 -def getcodesize(): pass
1.45 -def getlower(c): pass
1.46 -
1.47 -# vim: tabstop=4 expandtab shiftwidth=4