Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数値変換エントリで変換候補の数値以外の数が読みの数値以外の数より少ないとき変換できないバグを修正 #76

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

mtgto
Copy link
Owner

@mtgto mtgto commented Dec 29, 2023

#55 で導入した数値変換だと、"p# /#0/" のような、読みに含まれる数値以外の部分の数が変換候補に含まれる数値以外の部分の数より多い場合にエラーとしてしまっていました。

数値部分の数が読みと変換候補で同じかどうかだけチェックして、同じときは変換候補の "#X" (Xは一桁の整数) の部分を読みの数値部分に置換するように修正します。

@mtgto mtgto force-pushed the number-entry-bug branch from d28c3bd to a4baaf6 Compare January 2, 2024 00:50
@mtgto mtgto merged commit 40081fe into main Jan 2, 2024
2 checks passed
@mtgto mtgto deleted the number-entry-bug branch January 2, 2024 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant