(meta: string, label: string)
| 83 | } |
| 84 | |
| 85 | function parseMetaField(meta: string, label: string): string | undefined { |
| 86 | const pattern = new RegExp(`${label}=([^|]+)`, "i"); |
| 87 | const match = meta.match(pattern); |
| 88 | return match?.[1]?.trim(); |
| 89 | } |
| 90 | |
| 91 | function matchPresetDefaults(current: string, presets: string[]): { selected: string[]; custom: string[] } { |
| 92 | const currentValues = splitKeywords(current); |
no outgoing calls
no test coverage detected