Skip to content

Commit

Permalink
Fix #107
Browse files Browse the repository at this point in the history
  • Loading branch information
yokonao committed Jul 15, 2024
1 parent be51927 commit ba4967d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions toukibo/parse_body.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ func getExecutiveNameAndPosition(s string) (string, string, string) {
pos += "委員"
name = trimPattern(name, "委員")
}

// 生年月日の記載がある場合は削除
// NOTE: 取締役に同姓同名の別人がいる場合は、例外的に生年月日が登記される
name = trimPattern(name, "(昭和|平成|令和)[0-90-9]+年[0-90-9]+月[0-90-9]+日生")

return out, pos, name
}

Expand Down

0 comments on commit ba4967d

Please sign in to comment.