Context
This follow-up task was identified during the review of PR #145.
Source PR: #145
PR Title: feat: auto-interactive markdown checkboxes
Suggested by: @claude-bot
Priority: Low
Task Description
The frontmatterPattern regex in auto_tasks.go uses \A---\n which requires exactly \n newlines. Files with \r\n line endings (Windows) won't match, causing the frontmatter to be processed as content and potentially breaking task list detection.
Tasks:
- Add unit test with
\r\n line endings to confirm the behavior
- If it fails, update the regex to
\A---\r?\n(.+?)\r?\n---\r?\n
- Consider if this also affects other regex patterns in the file
Original Comment
The frontmatterPattern uses \A---\n which requires exactly one newline. Files with \r\n line endings (Windows) or ---\r\n won't match.
This issue was automatically created by prmonitor from PR review comments.
Context
This follow-up task was identified during the review of PR #145.
Source PR: #145
PR Title: feat: auto-interactive markdown checkboxes
Suggested by: @claude-bot
Priority: Low
Task Description
The
frontmatterPatternregex inauto_tasks.gouses\A---\nwhich requires exactly\nnewlines. Files with\r\nline endings (Windows) won't match, causing the frontmatter to be processed as content and potentially breaking task list detection.Tasks:
\r\nline endings to confirm the behavior\A---\r?\n(.+?)\r?\n---\r?\nOriginal Comment
This issue was automatically created by prmonitor from PR review comments.