You need a new state for scanning. After scanning over digits and finding a non-digit and parsing and saving the number, you need to scan to the next digit character.
Type: Posts; User: Norm
You need a new state for scanning. After scanning over digits and finding a non-digit and parsing and saving the number, you need to scan to the next digit character.