...There are several CSS selectors that only make sense in the context of a web-browser. Pseudo-elements (:before, :after, :first-line, :first-letter) are not supported because they select portions of text rather than elements.
texQL, "sQL for Text" grants you sql-like access to all ascii-files on the filesystem. eg: SELECT foundcount,filename,filesize,content,linenumber,linecount FROM ./ WHERE CONTAINS='mysql_connect' OR 'mysql_pconnect' AND filename="*.php"