mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 03:37:39 +02:00
Core: Make the regex scanner default to DOTALL
This will have no impact on the existing core use of the regex scanner, and therefore does not require a version bump.
This commit is contained in:
@@ -34,7 +34,7 @@ class RegExScanner(layers.ScannerInterface):
|
||||
|
||||
_required_framework_version = (2, 0, 0)
|
||||
|
||||
def __init__(self, pattern: bytes, flags: int = 0) -> None:
|
||||
def __init__(self, pattern: bytes, flags: int = re.DOTALL) -> None:
|
||||
super().__init__()
|
||||
self.regex = re.compile(pattern, flags)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user