micromatch / picomatch

Blazing fast and accurate glob matcher written JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions. Used by GraphQL, Jest, Astro, Snowpack, Storybook, bulma, Serverless, fdir, Netlify, AWS Amplify, Revogrid, rollup, routify, open-wc, imba, ava, docusaurus, fast-glob, globby, chokidar, anymatch, cloudflare/miniflare, pts, and more than 5 million projects! Please follow picomatch's author: https://github.com/jonschlinkert
https://github.com/micromatch
MIT License
971 stars 56 forks source link

chore: simplify `REGEX_REMOVE_BACKSLASH` #92

Closed XhmikosR closed 2 years ago

XhmikosR commented 3 years ago

This is where the polynomial execution happens; this doesn't fix the issue, but I noticed it could be simplified.

Perhaps this rings a bell to whoever wrote the regex in the first place?

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 92.325% when pulling 2e1b2db049d70972e6280ea7a43b8fe6512850df on XhmikosR:patch-2 into 68797253c84ffaf3c5386cdeb5325920fd96726a on micromatch:master.