glob-to-regexp
glob-to-regexp copied to clipboard
add option for capture
Sometimes there is a requirement to capture what those stars match. So I made an extra option, which defaults to false
Also, please add tests.