Skip to content

Commit

Permalink
EndianBinaryReader - fix string reading regex
Browse files Browse the repository at this point in the history
  • Loading branch information
K0lb3 authored Dec 21, 2023
1 parent cc87a54 commit 664e9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnityPy/streams/EndianBinaryReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ">"

Expand Down

0 comments on commit 664e9b5

Please sign in to comment.