diff --git a/package.json b/package.json index 1f41be6..85ac211 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "0.9.1", + "version": "0.9.2", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/lib/convert-spelling.ts b/src/lib/convert-spelling.ts index 2ddfb41..36130e9 100644 --- a/src/lib/convert-spelling.ts +++ b/src/lib/convert-spelling.ts @@ -20,7 +20,7 @@ export function convertSpelling(input: string, spelling: T.Spelling): string { return input; } return input.replace(/ای(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, "ائ") - .replace(/وی(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, "وی") + .replace(/وی(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, "وئ") .replace(/ی(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, "ے") .replace(/ي(?![\u0621-\u065f\u0670-\u06d3\u06d5])/g, (spelling === "Pakistani ی") ? "ی"