Exemplo n.º 1
0
    def __init__(self, pattern, flags=None):
        ElementaryPatternMatch.__init__(self)

        self.pattern = pattern
        self.flags = flags if flags is not None else ()
Exemplo n.º 2
0
    def __init__(self, text):
        ElementaryPatternMatch.__init__(self)

        self.text = text
Exemplo n.º 3
0
    def __init__(self, specifier, width=None, leading_zeros=False):
        ElementaryPatternMatch.__init__(self)

        self.specifier = specifier
        self.width = width
        self.leading_zeros = leading_zeros