diff --git a/build-scripts/rename_headers.py b/build-scripts/rename_headers.py index 5359c6db3..def94fce8 100755 --- a/build-scripts/rename_headers.py +++ b/build-scripts/rename_headers.py @@ -12,7 +12,7 @@ def main(): ( re.compile(r"(?:[\"<])(?:SDL2/)?SDL_gamecontroller.h(?:[\">])"), r"" ), ( re.compile(r"(?:[\"<])(?:SDL2/)?begin_code.h(?:[\">])"), r"" ), ( re.compile(r"(?:[\"<])(?:SDL2/)?close_code.h(?:[\">])"), r"" ), - ( re.compile(r"(?:[\"<])(?:SDL2/)?(SDL[_a-z]*\.h)(?:[\">])"), r"" ) + ( re.compile(r"(?:[\"<])(?:SDL2/)?(SDL[_a-z0-9]*\.h)(?:[\">])"), r"" ) ] for entry in args.args: path = pathlib.Path(entry)