Skip to content

Commit

Permalink
Merge pull request #442 from mariux64/make-mxvmem-python-3.12-ready
Browse files Browse the repository at this point in the history
forensics/mxvmem: strings in regexes may need the 'raw' modifier
  • Loading branch information
thomas authored Feb 12, 2025
2 parents 4e4aeaa + 69d8f8e commit be71b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forensics/mxvmem
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class ProcStreamParser():
'''
def __init__(self,procfshandler):
self.pfh = procfshandler
self.pidrex = re.compile('/proc/(\d+)/(\S+)\s+(.*)') # :xxx: hardcoded '/proc'
self.pidrex = re.compile(r'/proc/(\d+)/(\S+)\s+(.*)') # :xxx: hardcoded '/proc'

def parse(self, line):
m = self.pidrex.match(line)
Expand Down

0 comments on commit be71b93

Please sign in to comment.