This regex makes sure that selector begins with `#` or `.`. So you should not have any ids that did not begin with `#`. This change basically makes it so any string will be treated like an id selector. This seems confusing to me. Now we support both CSS style selectors and random string that will be treated like IDs.