Today I tried to find the exact match of the filter class in files named logback.xml in any repo on Github. And I came up with the following query that did the job.
"filter class" in:file filename:logback.xml
To enable exact match with quotes, you need to follow your search with the "in: file" modifier. The matches are not entirely accurate, the word "class" should follow the word "filter", but it seems that there can be 0 or more spaces or characters between the two words.
cessationoftime Sep 17 '15 at 19:07 2015-09-17 19:07
source share