(s: string)
| 93 | } |
| 94 | |
| 95 | function toPascalCase(s: string): string { |
| 96 | return s |
| 97 | .split(/[^A-Za-z0-9]+/) |
| 98 | .filter((word) => word.length > 0) |
| 99 | .map((w) => goIdentifierWord(w)) |
| 100 | .join(""); |
| 101 | } |
| 102 | |
| 103 | function escapeRegExp(value: string): string { |
| 104 | return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); |
no test coverage detected
searching dependent graphs…