avoid querySelector error

avoid querySelector error by using more strict regular expression.
Merge pull request #14 from zhangxinxu/develop

avoid querySelector error