A little utility for removing escape sequences from a glob.
Removing escape sequences is useful in combination with zeptomatch-is-static
to handle fully-static globs specially.
npm install --save zeptomatch-unescape
import unescape from 'zeptomatch-unescape';
// Remove escapes from a glob
unescape ( 'foo*bar?' ); //=> 'foo*bar?'
unescape ( 'foo\\*bar\\?' ); //=> 'foo*bar?'
MIT © Fabio Spampinato