// 定位 PRD 中 §3.3 / §7.9 / §5.4 相关节 import fs from 'node:fs'; const t = fs.readFileSync('e:/code/crm-backend-matt/.scratch/opportunity-module/商机业务-PRD.md', 'utf8'); console.log('chars:', t.length); const lines = t.split('\n'); lines.forEach((l, i) => { if (/^#{1,4}/.test(l) && /(3\.3|7\.9|5\.4|状态|受限|出边|联动)/.test(l)) { console.log(i + 1, l.slice(0, 70)); } });