Fix regex in parseSelector() failing in some android browsers