(fix)(de)(nouns) regex changed according to renamed noun class keys

This commit is contained in:
Valentyne Stigloher 2025-08-18 23:38:29 +02:00
parent 43e7e4a274
commit e0f6be095c

View File

@ -28,7 +28,7 @@ export interface ExampleValues {
const placeholderRegex = /{([^}]+)}/g; const placeholderRegex = /{([^}]+)}/g;
const morphemeRegex = /^(?<capitalise>'?)(?<morpheme>[a-z0-9_]+)$/; const morphemeRegex = /^(?<capitalise>'?)(?<morpheme>[a-z0-9_]+)$/;
const nounRegex = /^:noun (?<stems>\S+) (?<nounClass>\w+) (?<caseAbbreviation>\w+) (?<numerus>singular|plural)$/; const nounRegex = /^:noun (?<stems>\S+) (?<nounClass>\S+) (?<caseAbbreviation>\w+) (?<numerus>singular|plural)$/;
export class Example { export class Example {
parts: ExamplePart[]; parts: ExamplePart[];