You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
408 B

1 week ago
// 定位 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));
}
});