Working through Automate the Boring Stuff, and can't see why allowRegexes keyword in pyinputplus doesn't seem to be working for me.
for example
>>> import pyinputplus as pyip
>>> pyip.inputNum('input: ', allowRegexes=[r'(C)+'])
input: AB
'AB' is not a number.
input: ABC
'ABC'
It seems as though as long as I input any string containing C it will be allowed. But it should be only C or CCCC... that should pass I think.
I can't see that anyone else had issues with this. Is this some issue with Python versions, or am I missing something and being a regular expression donut?