Skip to content

Commit

Permalink
ignore case
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarraff committed Jan 31, 2024
1 parent c449a08 commit 55f7efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mark2confluence/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def begins_with_mark_headers(path: str, headers: List[str] = ["Space", "Parent",
with open(path, 'r+') as f:
first_row = f.readline()
for header in headers:
regex = re.compile(f"^<!--.?{header}:.*-->")
regex = re.compile(f"^<!--.?{header}:.*-->", re.IGNORECASE)
if regex.match(first_row):
return True
return False
Expand Down

0 comments on commit 55f7efd

Please sign in to comment.