SWDEV-123456 - handle checkboxes with spaces (#464)
[ROCm/clr commit: de27ba3f02]
This commit is contained in:
committed by
GitHub
parent
1539c16ee8
commit
1586e74e76
+1
-1
@@ -7,7 +7,7 @@ def is_checkbox(line: str) -> bool:
|
||||
|
||||
|
||||
def is_checked(line: str) -> bool:
|
||||
return bool(re.match(r"^\s*-\s*\[[xX]\]\s*.+", line))
|
||||
return bool(re.match(r"^\s*-\s*\[\s*[xX]\s*\]\s*.+", line))
|
||||
|
||||
|
||||
def is_comment(line: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user