Splice AmphibianDNA when quotes are missing

This commit is contained in:
Elliot Nunn 2020-01-01 09:47:16 +08:00
parent 4b5c315cba
commit b4cdbd38f7
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def splice(directory):
found_locations = {k: [] for k in remaining}
overs_re = '|'.join(re.escape(x) for x in remaining)
overs_re = r'^[^#]*"({\w+}(?:\w+:)*)(Thing.lib)"'.replace('Thing.lib', overs_re)
overs_re = r'^[^#]*(?:"|\s)({\w+}(?:\w+:)*)(Thing.lib)(?:"|\s)'.replace('Thing.lib', overs_re)
overs_re = re.compile(overs_re, re.IGNORECASE)
main_makefiles = []