(s: string)
| 1082 | // ── Duplicate element helpers ─────────────────────────────────────────── |
| 1083 | |
| 1084 | function escapeRegex(s: string): string { |
| 1085 | return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); |
| 1086 | } |
| 1087 | |
| 1088 | function getLiteralAttributeValue(attrValue: any): string | null { |
| 1089 | if (!attrValue) return null; |