On Mon, 28 Feb 2000, Fred L. Drake wrote:
... Index: ConfigParser.py =================================================================== RCS file: /projects/cvsroot/python/dist/src/Lib/ConfigParser.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** ConfigParser.py 1999/10/12 16:12:48 1.14 --- ConfigParser.py 2000/02/28 20:59:03 1.15
*** 293,302 **** SECTCRE = re.compile( r'[' # [ ! r'(?P<header>[-\w]+)' # `-', `_' or any alphanum r']' # ] ) OPTCRE = re.compile( ! r'(?P<option>[-.\w]+)' # - . _ alphanum ! r'[ \t]*[:=][ \t]*' # any number of space/tab, # followed by separator # (either : or =), followed --- 293,302 ---- SECTCRE = re.compile( r'[' # [ ! r'(?P<header>[-\w_.*,(){}]+)' # `-', `_' or any alphanum r']' # ] ) OPTCRE = re.compile( ! r'(?P<option>[-\w_.*,(){}]+)' # - . _ alphanum ! r'[ \t]*(?P<vi>[:=])[ \t]*' # any number of space/tab,
The comments no longer match the regex. Specifically, the "- . _ alphanum" comments are incorrect.
Cheers, -g