I was implementing a simple script that should replace unwanted characters form a string. This is what I got in iPython:
>>> import re
>>> def clean(value):
... ret = re.sub(r"^[A-Za-z0-9]", "", value)
... return ret
...
>>> clean("What")
'hat'
>>>
I was sure my python instalation was broken or something, but I get the same on https://www.python.org/shell/. What is going on?