Add further simplification and minor cleanups for japanese bank validation

This commit is contained in:
Christoph Atteneder 2021-09-14 09:15:12 +02:00
parent c781394dbb
commit 4d62136d62
No known key found for this signature in database
GPG key ID: CD5DC1C529CDFD3B

View file

@ -864,11 +864,10 @@ public class JapanBankData {
"一-龯" + // common Japanese kanji (0x4e00 ~ 0x9faf) "一-龯" + // common Japanese kanji (0x4e00 ~ 0x9faf)
"" + // kanji iteration mark (0x3005) "" + // kanji iteration mark (0x3005)
"" + // kanji number zero (0x3007) "" + // kanji number zero (0x3007)
"ぁ-" + // full-width hiragana (0x3041 ~ 0x3094) "ぁ-" + // hiragana (0x3041 ~ 0x309e)
"ァ-・" + // full-width katakana (0x30a1 ~ 0x30fb) "ァ-・" + // full-width katakana (0x30a1 ~ 0x30fb)
"ぁ-ゞ" + // half-width hiragana
"ァ-ン゙゚" + // half-width katakana "ァ-ン゙゚" + // half-width katakana
"ヽヾ゛゜ー" + // 0x309e, 0x309b, 0x309c, 0x30fc "ヽヾ゛゜ー" + // 0x30fd, 0x30fe, 0x309b, 0x309c, 0x30fc
" " + // full-width space " " + // full-width space
" " + // half-width space " " + // half-width space
"]+"; // for any length "]+"; // for any length