We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 948f487 commit 7b25e66Copy full SHA for 7b25e66
src/parser/lexer.ts
@@ -122,7 +122,7 @@ const cartoucheElement = choiceOnlyOne(
122
.map(([word, dots]) => {
123
const count = /^[aeiou]/.test(word) ? dots + 1 : dots;
124
const morae = word.match(/[jklmnpstw]?[aeiou]|n/g)!;
125
- if (count < morae.length) {
+ if (count <= morae.length) {
126
return morae.slice(0, count).join("");
127
} else {
128
throw new UnrecognizedError("excess dots");
0 commit comments