From d83bbbfd222d7e399fd8b2b17492c1448dc4f2a2 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 12 Feb 2001 17:18:11 +0000 Subject: 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. --- Lib/ConfigParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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