http://qs321.pair.com?node_id=752465


in reply to Quickly Find Files with Wildcard?

I would try using substr instead of invoking a full regex since your match string is a constant. Secondly, I hope you drop out of your foreach loop once the file you want has been found (unless you expect more than one match that is), otherwise you will continue you expensive test for nothing. Hope this helps!

--
I'd like to be able to assign to an luser