package.path="?.lua;?/init.lua;?.lua;?/?/init.lua;"..package.path -- I like using the state machine much better than the regex method.