Skip to content

Commit

Permalink
Use multiline regex flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
J08nY committed Sep 22, 2022
1 parent ff9867f commit 7abb466
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sec_certs/cert_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ def _process(obj, add_sep=True):
re.compile(
REGEXEC_SEP_START + MATCH_START + rule + MATCH_END + REGEXEC_SEP_END
if add_sep
else MATCH_START + rule + MATCH_END
else MATCH_START + rule + MATCH_END,
re.MULTILINE
)
for rule in obj
]
Expand Down

0 comments on commit 7abb466

Please sign in to comment.