MCPcopy Create free account
hub / github.com/codeHappyDananx/SpecWave / isSectionLine

Function isSectionLine

src/stores/project.ts:738–740  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

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*(.+)$/)

Callers 1

parseTaskListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected