correct require regex

now catch file starting by '/' or './'