Fixed issues with Regex. Modules will be able to be reduced back to the root by no ./ or if ../ retracts that far