diff --git a/UnityPy/streams/EndianBinaryReader.py b/UnityPy/streams/EndianBinaryReader.py index 2435846c..4fea9761 100644 --- a/UnityPy/streams/EndianBinaryReader.py +++ b/UnityPy/streams/EndianBinaryReader.py @@ -4,7 +4,7 @@ from typing import List, Union from io import BytesIO, BufferedIOBase, IOBase, BufferedReader -reNot0 = re.compile(b"(.*?)\x00") +reNot0 = re.compile(b"(.*?)\x00", re.S) SYS_ENDIAN = "<" if sys.byteorder == "little" else ">"