diff --git a/src/schemas/tiberian.ts b/src/schemas/tiberian.ts index 07cf5bb..f1b451f 100644 --- a/src/schemas/tiberian.ts +++ b/src/schemas/tiberian.ts @@ -603,8 +603,8 @@ export const tiberian: Schema = { holemHaser: "remove", ketivQeres: [ { - input: "הִוא", - output: "הִיא", + input: /הִוא/, + output: (heb, input) => heb.replace(input, "הִיא"), captureTaamim: true, ignoreTaamim: true } diff --git a/test/schemas/tiberian.test.ts b/test/schemas/tiberian.test.ts index 109d8ec..425b035 100644 --- a/test/schemas/tiberian.test.ts +++ b/test/schemas/tiberian.test.ts @@ -284,8 +284,9 @@ describe("divine name", () => { describe("qere perpetuum 3fs", () => { test.each` - description | hebrew | transliteration - ${"3fs"} | ${"הִ֑וא"} | ${"ˈhiː"} + description | hebrew | transliteration + ${"3fs"} | ${"הִ֑וא"} | ${"ˈhiː"} + ${"prefixed 3fs"} | ${"הַהִ֔וא"} | ${"haːˈhiː"} `("$description", (inputs: Inputs) => { const { hebrew, transliteration } = inputs; expect(transliterate(hebrew, schema)).toBe(transliteration);