Skip to content

Conversation

@SushiInYourFace
Copy link

Currently, the pattern [a-z]{5}[01][0-9]{2} is used to check whether a person_id is also a valid player_id. However this pattern fails for players who have last names shorter than 4 letters, such as Gavin Lux (lux-g001) or Chin-lung Hu (hu--c001). I've updated the pattern to [-a-z]{5}[01][0-9]{2} to allow for this type of player.

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