1
0
Fork 0
mirror of https://github.com/Oreolek/gamebookformat.git synced 2024-06-16 15:10:45 +03:00

Allow uppercase in section names.

I think that is a good idea, or at least it makes a
current project of mine slightly easier, but there might
be something bad about it I did not consider now.
This commit is contained in:
Pelle Nilsson 2014-05-30 23:35:09 +02:00
parent 4b27cef281
commit 4288d69650

View file

@ -41,7 +41,7 @@ from output import OutputFormat
USAGE = "usage: %prog [options] inputfile(s)... outputfile"
SECTION_NAME_RE = re.compile("^[a-z][a-z_0-9]*$")
SECTION_NAME_RE = re.compile("^[A-Za-z][A-Za-z_0-9]*$")
def of(extension, name, quote):
return {'extension' : extension,