correct 'require' regex

test match for explicite file (w/ or w/o extension)