Skip to content

A little utility for removing escape sequences from a glob.

License

Notifications You must be signed in to change notification settings

fabiospampinato/zeptomatch-unescape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zeptomatch Unescape

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.

Install

npm install --save zeptomatch-unescape

Usage

import unescape from 'zeptomatch-unescape';

// Remove escapes from a glob

unescape ( 'foo*bar?' ); //=> 'foo*bar?'
unescape ( 'foo\\*bar\\?' ); //=> 'foo*bar?'

License

MIT © Fabio Spampinato