Javascript Regular Expression Stack Overflow Meaning