gynec-changes #104

Merged
amit merged 2 commits from gynec-changes into main 2026-11-02 10:54:02 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit b49ae9f047 - Show all commits

View File

@ -41,5 +41,6 @@ export function asRecordArray(value: unknown): Record<string, unknown>[] {
export function humanizeKey(value: string): string { export function humanizeKey(value: string): string {
return value return value
.replace(/[_-]/g, " ") .replace(/[_-]/g, " ")
.replace(/\b\w/g, (letter) => letter.toUpperCase()); .replace(/\b\w/g, (letter) => letter.toUpperCase())
.replace(/(['’‘ʼ])s\b/gi, (match) => match[0] + "s");
} }