Update find function to use simple regex

match pattern using the start, end, and stars.
"xsearch test" will match every files named exactly test
"xsearch test*" will match every files starting by test