Short Answer: Use .**
or .?
I figured this out by randomly trying things :). Just type in .**
, and voila!
Edit #1: I just found out that .?
works too
I'm not really sure why this works, so if anyone figures it out please edit :)
Edit #2: I think it has something to do with how *
matches tons of symbols, and ?
just matches one letter or symbol. But, I'm surprised that .**
matches test.c
since it only has one character in the path.
"the question mark is used to substitute for one letter or symbol that you don't know. The asterisk is used to substitute for many letters and symbols" (http://www.digitalcitizen.life/basics-making-advanced-searches-wildcards-and-filters)
I'm not really 100% sure why it works, so it might have some unexpected results. But, so far both work for all the files I have tested, including ones with a single character as an extension (test.c)