After implementing the code in listing 6.2 we are asked to play around with inputs as the book says the regex will allow the code to not crash as we check to see if only digits are allowed.
Coming from chapter 5 where we learn learned about overflow events I tested these and got an error
2147483647 works but her new level after she returns from her quest is very low
2147483648 produces an error