From 664e9b52e1c85a8248822fac899bf9889b91f93f Mon Sep 17 00:00:00 2001 From: Rudolf Kolbe Date: Thu, 21 Dec 2023 21:47:29 +0100 Subject: [PATCH] EndianBinaryReader - fix string reading regex --- UnityPy/streams/EndianBinaryReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ">"