SWDEV-123456 - handle checkboxes with spaces (#464)
This commit is contained in:
کامیت شده توسط
GitHub
والد
54a2e943d7
کامیت
de27ba3f02
@@ -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:
|
||||
|
||||
مرجع در شماره جدید
Block a user