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:
parent
4b27cef281
commit
4288d69650
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue