From: Fred Drake Date: Mon, 12 Feb 2001 17:18:11 +0000 (+0000) Subject: Allow square brackets in the option names; this makes it possible to use X-Git-Tag: v2.1b1~392 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d83bbbfd222d7e399fd8b2b17492c1448dc4f2a2;p=python Allow square brackets in the option names; this makes it possible to use ConfigParser with GNOME-ish config files that use the internationalization conventions found in GNOME. This closes SF bug #131635. --- diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index 9d55ca7628..14412a38ba 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -391,7 +391,7 @@ class ConfigParser: r'\]' # ] ) OPTCRE = re.compile( - r'(?P