Account for 4 digit streaks

Created regex to remove messy if/else logic and also account for 4 digit
streaks. Fixes #14.