visionmedia/php-selector — pull request #8 by luislarrateguy (2014-10-15 23:47:28+00:00)
Title: noticket: fixing issue with attributes that had spaces in their values

I had the need of accessing an element that had an ugly dom. So by the harcoded color was the only way to get it.
The tool was splitting by spaces. I fixed the regular expression to do it only if not inside brackets, since that it would be allowed as part of the content of a bracket / value of the attribute.

See the test for an example.

Thanls