glob-to-regexp
glob-to-regexp copied to clipboard
* not handled inside of character groups
# Bad behavior.
> globToRegExp('fo[oO*]bar', {extended: true})
/^fo[oO.*]bar$/
# Expected result:
/^fo[oO*]bar$/