Changed "regex" flag to "pattern" in git-ls