I've looked at Prototype.js code and I saw there ( at the Sizzle part) :

My question is about that line :
CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
the \. is for dot ,
next is (uncaptured group with : words, range and -) OR (\.). ( actually it says \\. but the first one is just for escaping so it's \.).
Huh ?
What's \. ?
I did test /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/.test('.aa\.') and it returns true.
But what is .aa\. ? obviously the class is .aa but if \ is a valid char , why it isn't at the [..] section ?
What am I missing ?