Skip to content

Commit

Permalink
Merge pull request #100 from CybercentreCanada/Regex_tweak_2
Browse files Browse the repository at this point in the history
Tweaking regex
  • Loading branch information
cccs-kevin committed Sep 8, 2021
2 parents c7d22a1 + 820109e commit 18f089b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assemblyline_v4_service/common/balbuzard/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class PatternMatch(object):
rb'[A-Za-z0-9\\u00a1-\\uffff]\.)+(?:xn--)?' \
rb'(?:[A-Za-z0-9\\u00a1-\\uffff]{2,}\.?))' \
rb'(?::\d{2,5})?)' \
rb'(?:[/?#][a-zA-Z0-9.\-_~\$\.\+\!\*\'\(\)\,]+)*'
rb'(?:[/?#=&][a-zA-Z0-9.\-_~\$\.\+\!\*\'\(\)\,]+)*'

PAT_EXEDOS = rb'This program cannot be run in DOS mode'
PAT_EXEHEADER = rb'(?s)MZ.{32,1024}PE\000\000'
Expand Down

0 comments on commit 18f089b

Please sign in to comment.