(text: string)
| 736 | } |
| 737 | |
| 738 | function isSectionLine(text: string): RegExpMatchArray | null { |
| 739 | return text.match(/^#{2,3}\s+(.+)$/) |
| 740 | } |
| 741 | |
| 742 | function isTaskLine(text: string): RegExpMatchArray | null { |
| 743 | return text.match(/^(\s*)-\s*\[([ xX])\]\s*(.+)$/) |