(content, label)
| 58 | } |
| 59 | |
| 60 | function lineValue(content, label) { |
| 61 | const pattern = new RegExp(`^${label}:\\s*(.+)$`, 'm'); |
| 62 | const match = content.match(pattern); |
| 63 | return match ? match[1].trim() : null; |
| 64 | } |
| 65 | |
| 66 | function gateStatus(content, gateLabel) { |
| 67 | const escaped = gateLabel.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); |
no outgoing calls
no test coverage detected