I read a book and see a ton of examples like this:
(?P<email> [\w\d.+-]+
Since \w means [a-zA-Z0-9_] , \d means [0-9] , \d is a subset of \w .
So, aren't these "\ d" redundant? Please, someone will confirm that my understanding is correct, because it makes me gat.
source share