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

全角のマイナス(U+2212)が認識できない #136

Closed
YuukiToriyama opened this issue Jan 20, 2024 · 2 comments · Fixed by #147
Closed

全角のマイナス(U+2212)が認識できない #136

YuukiToriyama opened this issue Jan 20, 2024 · 2 comments · Fixed by #147
Assignees
Labels
bug Something isn't working

Comments

@YuukiToriyama
Copy link
Owner

InvalidTownNameFormatterにおいて、有楽町1-1-1のような入力を("有楽町一丁目", "1-1")のように変換・分割する処理を行っているが、-ではなくが使われた場合、町名の変換はできるが分割された残りの住所の頭にが付いたままになってしまう。

@YuukiToriyama YuukiToriyama added the bug Something isn't working label Jan 20, 2024
@YuukiToriyama YuukiToriyama self-assigned this Jan 20, 2024
@YuukiToriyama
Copy link
Owner Author

大阪府大阪市中央区久太郎町1-2-27
大阪府大阪市中央区久太郎町1−2−27

Copy link
Contributor

テスト結果

ステータス 入力 結果
大阪府大阪市中央区久太郎町1-2-27 {"prefecture":"大阪府","city":"大阪市中央区","town":"久太郎町一丁目","rest":"2-27"}
大阪府大阪市中央区久太郎町1−2−27 {"prefecture":"大阪府","city":"大阪市中央区","town":"久太郎町一丁目","rest":"−2−27"}

統計

  • ケース数: 2
  • 成功数: 2
  • 失敗数: 0

テストに使用したリビジョン

f202641

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant