Skip to content

Commit 664e9b5

Browse files
authored
EndianBinaryReader - fix string reading regex
1 parent cc87a54 commit 664e9b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎UnityPy/streams/EndianBinaryReader.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from typing import List, Union
55
from io import BytesIO, BufferedIOBase, IOBase, BufferedReader
66

7-
reNot0 = re.compile(b"(.*?)\x00")
7+
reNot0 = re.compile(b"(.*?)\x00", re.S)
88

99
SYS_ENDIAN = "<" if sys.byteorder == "little" else ">"
1010

0 commit comments

Comments
 (0)