Fixed bug in regex that wouldn't match item in the current dir