removed deprecated createRegexFromGlob