Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package

tuple configobj::ConfigObj::_keyword [static, private]

Initial value:

re.compile(r'''^ # line start
    (\s*)                   # indentation
    (                       # keyword
        (?:".*?")|          # double quotes
        (?:'.*?')|          # single quotes
        (?:[^'"=].*?)       # no quotes    )    \s*=\s*                 # divider    (.*)                    # value (including list values and comments)    $   # line end    ''',        re.VERBOSE)    _sectionmarker = re.compile(r'''^    (\s*)                     # 1: indentation    ((?:\[\s*)+)              # 2: section marker open    (                         # 3: section name open        (?:"\s*\S.*?\s*")|    # at least one non-space with double quotes        (?:'\s*\S.*?\s*')|    # at least one non-space with single quotes        (?:[^'"\s].*?)        # at least one non-space unquoted
    )                         # section name close
    ((?:\s*\])+)              # 4: section marker close
    \s*(\#.*)?                # 5: optional comment
    $''',
        re.VERBOSE)

Definition at line 1030 of file configobj.py.


Generated by  Doxygen 1.6.0   Back to index