SWDEV-123456 - handle checkboxes with spaces (#464)
[ROCm/clr commit: de27ba3f02]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
1539c16ee8
tiomantas
1586e74e76
1 comhad athraithe
+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:
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir