miyagawa/HTML-Selector-XPath — pull request #14 by hitode909 (2014-03-27 09:47:04+00:00)
Title: Support unicode characters for id and class selectors

`qr/^([#.]?)([a-z0-9\\*_-]*)((\|)([a-z0-9\\*_-]*))?/i` doesn't match unicode characters like `.小飼弾`.
I changed it to `qr/^([#.]?)([^\s'"#.\/:@,=~>()\[\]|]*)((\|)([a-z0-9\\*_-]*))?/i`.