1👍
✅
You need to take your second ^
out of your regex. Change it to:
(r'^Account/PS/d=[A-za-z0-9]{2,50}.[a-z]{1,3}$', SAA),
👤Alex
Source:stackexchange.com