diff options
-rw-r--r-- | Lib/ConfigParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index 9d55ca7..14412a3 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -391,7 +391,7 @@ class ConfigParser: r'\]' # ] ) OPTCRE = re.compile( - r'(?P<option>[-\w_.*,(){}]+)' # a lot of stuff found by IvL + r'(?P<option>[]\-[\w_.*,(){}]+)' # a lot of stuff found by IvL r'[ \t]*(?P<vi>[:=])[ \t]*' # any number of space/tab, # followed by separator # (either : or =), followed |