{\bfseries{Details}}

\begin{quote}
Glob matching for javascript/node.\+js. A drop-\/in replacement and faster alternative to minimatch and multimatch. \end{quote}
Please consider following this project\textquotesingle{}s author, \href{https://github.com/jonschlinkert}{\texttt{ Jon Schlinkert}}, and consider starring the project to show your \+:heart\+: and support.\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12264}{}\doxysection{Table of Contents}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12264}
$<$details$>$


\begin{DoxyItemize}
\item \href{\#install}{\texttt{ Install}}
\item \href{\#quickstart}{\texttt{ Quickstart}}
\item \href{\#why-use-micromatch}{\texttt{ Why use micromatch?}}
\begin{DoxyItemize}
\item \href{\#matching-features}{\texttt{ Matching features}}
\end{DoxyItemize}
\item \href{\#switching-to-micromatch}{\texttt{ Switching to micromatch}}
\begin{DoxyItemize}
\item \href{\#from-minimatch}{\texttt{ From minimatch}}
\item \href{\#from-multimatch}{\texttt{ From multimatch}}
\end{DoxyItemize}
\item \href{\#api}{\texttt{ API}}
\item \href{\#options}{\texttt{ Options}}
\begin{DoxyItemize}
\item \href{\#optionsbasename}{\texttt{ options.\+basename}}
\item \href{\#optionsbash}{\texttt{ options.\+bash}}
\item \href{\#optionscache}{\texttt{ options.\+cache}}
\item \href{\#optionsdot}{\texttt{ options.\+dot}}
\item \href{\#optionsfailglob}{\texttt{ options.\+failglob}}
\item \href{\#optionsignore}{\texttt{ options.\+ignore}}
\item \href{\#optionsmatchbase}{\texttt{ options.\+match\+Base}}
\item \href{\#optionsnobrace}{\texttt{ options.\+nobrace}}
\item \href{\#optionsnocase}{\texttt{ options.\+nocase}}
\item \href{\#optionsnodupes}{\texttt{ options.\+nodupes}}
\item \href{\#optionsnoext}{\texttt{ options.\+noext}}
\item \href{\#optionsnonegate}{\texttt{ options.\+nonegate}}
\item \href{\#optionsnoglobstar}{\texttt{ options.\+noglobstar}}
\item \href{\#optionsnonull}{\texttt{ options.\+nonull}}
\item \href{\#optionsnullglob}{\texttt{ options.\+nullglob}}
\item \href{\#optionssnapdragon}{\texttt{ options.\+snapdragon}}
\item \href{\#optionssourcemap}{\texttt{ options.\+sourcemap}}
\item \href{\#optionsunescape}{\texttt{ options.\+unescape}}
\item \href{\#optionsunixify}{\texttt{ options.\+unixify}}
\end{DoxyItemize}
\item \href{\#extended-globbing}{\texttt{ Extended globbing}}
\begin{DoxyItemize}
\item \href{\#extglobs}{\texttt{ extglobs}}
\item \href{\#braces}{\texttt{ braces}}
\item \href{\#regex-character-classes}{\texttt{ regex character classes}}
\item \href{\#regex-groups}{\texttt{ regex groups}}
\item \href{\#posix-bracket-expressions}{\texttt{ POSIX bracket expressions}}
\end{DoxyItemize}
\item \href{\#notes}{\texttt{ Notes}}
\begin{DoxyItemize}
\item \href{\#bash-43-parity}{\texttt{ Bash 4.\+3 parity}}
\item \href{\#backslashes}{\texttt{ Backslashes}}
\end{DoxyItemize}
\item \href{\#contributing}{\texttt{ Contributing}}
\item \href{\#benchmarks}{\texttt{ Benchmarks}}
\begin{DoxyItemize}
\item \href{\#running-benchmarks}{\texttt{ Running benchmarks}}
\item \href{\#latest-results}{\texttt{ Latest results}}
\end{DoxyItemize}
\item \href{\#about}{\texttt{ About}}
\end{DoxyItemize}

$<$/details$>$\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12265}{}\doxysection{Install}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12265}
Install with \href{https://www.npmjs.com/}{\texttt{ npm}}\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save micromatch }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12266}{}\doxysection{Quickstart}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12266}

\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm(list, patterns[, options]); }

\end{DoxyCode}


The \href{\#micromatch}{\texttt{ main export}} takes a list of strings and one or more glob patterns\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{console.log(mm(['foo', 'bar', 'qux'], ['f*', 'b*'])); }
\DoxyCodeLine{//=> ['foo', 'bar'] }

\end{DoxyCode}


Use \href{\#ismatch}{\texttt{ .is\+Match()}} to get true/false\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{console.log(mm.isMatch('foo', 'f*'));  }
\DoxyCodeLine{//=> true }

\end{DoxyCode}


\href{\#switching-to-micromatch}{\texttt{ Switching}} from minimatch and multimatch is easy!\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12267}{}\doxysection{Why use micromatch?}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12267}
\begin{quote}
micromatch is a \href{\#switching-to-micromatch}{\texttt{ drop-\/in replacement}} for minimatch and multimatch \end{quote}

\begin{DoxyItemize}
\item Supports all of the same matching features as \href{https://github.com/isaacs/minimatch}{\texttt{ minimatch}} and \href{https://github.com/sindresorhus/multimatch}{\texttt{ multimatch}}
\item Micromatch uses \href{https://github.com/jonschlinkert/snapdragon}{\texttt{ snapdragon}} for parsing and compiling globs, which provides granular control over the entire conversion process in a way that is easy to understand, reason about, and maintain.
\item More consistently accurate matching \href{https://github.com/yarnpkg/yarn/pull/3339}{\texttt{ than minimatch}}, with more than 36,000 \href{./test}{\texttt{ test assertions}} to prove it.
\item More complete support for the Bash 4.\+3 specification than minimatch and multimatch. In fact, micromatch passes {\itshape all of the spec tests} from bash, including some that bash still fails.
\item \href{\#benchmarks}{\texttt{ Faster matching}}, from a combination of optimized glob patterns, faster algorithms, and regex caching.
\item \href{https://github.com/micromatch/braces\#braces-is-safe}{\texttt{ Micromatch is safer}}, and is not subject to DoS with brace patterns, like minimatch and multimatch.
\item More reliable windows support than minimatch and multimatch.
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12268}{}\doxysubsection{Matching features}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12268}

\begin{DoxyItemize}
\item Support for multiple glob patterns (no need for wrappers like multimatch)
\item Wildcards ({\ttfamily $\ast$$\ast$}, {\ttfamily $\ast$.js})
\item Negation (`'!a/$\ast$.js\textquotesingle{}{\ttfamily ,}\textquotesingle{}{\itshape !(b).js\textquotesingle{}\mbox{]}{\ttfamily )}}
\item {\itshape {\ttfamily \mbox{[}extglobs\mbox{]}(\href{https://github.com/micromatch/extglob}{\texttt{ https\+://github.\+com/micromatch/extglob}}) (}+(x$\vert$y){\ttfamily ,}!(a$\vert$b){\ttfamily )}}
\item {\itshape {\ttfamily \mbox{[}POSIX character classes\mbox{]}(\href{https://github.com/micromatch/expand-brackets}{\texttt{ https\+://github.\+com/micromatch/expand-\/brackets}}) (}\mbox{[}\mbox{[}\+:alpha\+:\mbox{]}\mbox{[}\+:digit\+:\mbox{]}\mbox{]}{\ttfamily )}}
\item {\itshape {\ttfamily \mbox{[}brace expansion\mbox{]}(\href{https://github.com/micromatch/braces}{\texttt{ https\+://github.\+com/micromatch/braces}}) (}foo/\{1..5\}.md{\ttfamily ,}bar/\{a,b,c\}.js{\ttfamily )}}
\item {\itshape {\ttfamily regex character classes (}foo-\/\mbox{[}1-\/5\mbox{]}.js{\ttfamily )}}
\item {\itshape {\ttfamily regex logical \char`\"{}or\char`\"{} (}foo/(abc$\vert$xyz).js\`{})}
\end{DoxyItemize}

{\itshape You can mix and match these features to create whatever patterns you need!}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12269}{}\doxysection{Switching to micromatch}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12269}
{\itshape  There is one notable difference between micromatch and minimatch in regards to how backslashes are handled. See \href{\#backslashes}{\texttt{ the notes about backslashes}} for more information.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12270}{}\doxysubsection{From minimatch}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12270}
{\itshape  Use \href{\#ismatch}{\texttt{ mm.\+is\+Match()}} instead of {\ttfamily minimatch()}\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm.isMatch('foo', 'b</em>');}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
}

{\itshape Use \href{\#match}{\texttt{ mm.\+match()}} instead of {\ttfamily minimatch.\+match()}\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm.match(['foo', 'bar'], 'b*');}
\DoxyCodeLine{//=> 'bar' }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12271}{}\doxysubsection{From multimatch}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12271}
{\itshape  Same signature\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm(['foo', 'bar', 'baz'], ['f*', '*z']);}
\DoxyCodeLine{//=> ['foo', 'baz'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12272}{}\doxysection{API}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12272}
{\itshape  }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12273}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L41\char`\"{}$>$micromatch$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12273}
{\itshape  The main function takes a list of strings and one or more glob patterns to use for matching.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily list} $\ast$$\ast$\{Array\}$\ast$$\ast$\+: A list of strings to match
\item {\ttfamily patterns} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: One or more glob patterns to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Array\}$\ast$$\ast$\+: Returns an array of matches
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm(list, patterns[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm(['a.js', 'a.txt'], ['*.js']));}
\DoxyCodeLine{//=> [ 'a.js' ] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12274}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L93\char`\"{}$>$.\+match$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12274}
{\itshape  Similar to the main function, but {\ttfamily pattern} must be a string.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily list} $\ast$$\ast$\{Array\}$\ast$$\ast$\+: Array of strings to match
\item {\ttfamily pattern} $\ast$$\ast$\{String\}$\ast$$\ast$\+: Glob pattern to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Array\}$\ast$$\ast$\+: Returns an array of matches
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.match(list, pattern[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.match(['a.a', 'a.aa', 'a.b', 'a.c'], '*.a'));}
\DoxyCodeLine{//=> ['a.a', 'a.aa'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12275}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L154\char`\"{}$>$.\+is\+Match$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12275}
{\itshape  Returns true if the specified {\ttfamily string} matches the given glob {\ttfamily pattern}.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily string} $\ast$$\ast$\{String\}$\ast$$\ast$\+: String to match
\item {\ttfamily pattern} $\ast$$\ast$\{String\}$\ast$$\ast$\+: Glob pattern to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Boolean\}$\ast$$\ast$\+: Returns true if the string matches the glob pattern.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.isMatch(string, pattern[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.isMatch('a.a', '*.a'));}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{console.log(mm.isMatch('a.b', '*.a'));}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12276}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L192\char`\"{}$>$.\+some$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12276}
{\itshape  Returns true if some of the strings in the given {\ttfamily list} match any of the given glob {\ttfamily patterns}.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily list} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: The string or array of strings to test. Returns as soon as the first match is found.
\item {\ttfamily patterns} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: One or more glob patterns to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Boolean\}$\ast$$\ast$\+: Returns true if any patterns match {\ttfamily str}
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.some(list, patterns[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));}
\DoxyCodeLine{// true}
\DoxyCodeLine{console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));}
\DoxyCodeLine{// false }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12277}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L228\char`\"{}$>$.\+every$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12277}
{\itshape  Returns true if every string in the given {\ttfamily list} matches any of the given glob {\ttfamily patterns}.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily list} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: The string or array of strings to test.
\item {\ttfamily patterns} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: One or more glob patterns to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Boolean\}$\ast$$\ast$\+: Returns true if any patterns match {\ttfamily str}
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.every(list, patterns[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.every('foo.js', ['foo.js']));}
\DoxyCodeLine{// true}
\DoxyCodeLine{console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));}
\DoxyCodeLine{// true}
\DoxyCodeLine{console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));}
\DoxyCodeLine{// false}
\DoxyCodeLine{console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));}
\DoxyCodeLine{// false }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12278}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L260\char`\"{}$>$.\+any$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12278}
{\itshape  Returns true if {\bfseries{any}} of the given glob {\ttfamily patterns} match the specified {\ttfamily string}.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily str} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: The string to test.
\item {\ttfamily patterns} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: One or more glob patterns to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Boolean\}$\ast$$\ast$\+: Returns true if any patterns match {\ttfamily str}
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.any(string, patterns[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.any('a.a', ['b.*', '*.a']));}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{console.log(mm.any('a.a', 'b.*'));}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12279}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L308\char`\"{}$>$.\+all$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12279}
{\itshape  Returns true if {\bfseries{all}} of the given {\ttfamily patterns} match the specified string.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily str} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: The string to test.
\item {\ttfamily patterns} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: One or more glob patterns to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Boolean\}$\ast$$\ast$\+: Returns true if any patterns match {\ttfamily str}
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.all(string, patterns[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.all('foo.js', ['foo.js']));}
\DoxyCodeLine{// true}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.all('foo.js', ['*.js', '!foo.js']));}
\DoxyCodeLine{// false}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.all('foo.js', ['*.js', 'foo.js']));}
\DoxyCodeLine{// true}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));}
\DoxyCodeLine{// true }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12280}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L340\char`\"{}$>$.\+not$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12280}
{\itshape  Returns a list of strings that {\itshape {\bfseries{do not match any}}} of the given {\ttfamily patterns}.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily list} $\ast$$\ast$\{Array\}$\ast$$\ast$\+: Array of strings to match.
\item {\ttfamily patterns} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: One or more glob pattern to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Array\}$\ast$$\ast$\+: Returns an array of strings that {\bfseries{do not match}} the given patterns.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.not(list, patterns[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));}
\DoxyCodeLine{//=> ['b.b', 'c.c'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12281}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L376\char`\"{}$>$.\+contains$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12281}
{\itshape  Returns true if the given {\ttfamily string} contains the given pattern. Similar to \href{\#isMatch}{\texttt{ .is\+Match}} but the pattern can match any part of the string.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily str} $\ast$$\ast$\{String\}$\ast$$\ast$\+: The string to match.
\item {\ttfamily patterns} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: Glob pattern to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Boolean\}$\ast$$\ast$\+: Returns true if the patter matches any part of {\ttfamily str}.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.contains(string, pattern[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.contains('aa/bb/cc', '*b'));}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{console.log(mm.contains('aa/bb/cc', '*d'));}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12282}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L432\char`\"{}$>$.\+match\+Keys$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12282}
{\itshape  Filter the keys of the given object with the given {\ttfamily glob} pattern and {\ttfamily options}. Does not attempt to match nested keys. If you need this feature, use \href{https://github.com/jonschlinkert/glob-object}{\texttt{ glob-\/object}} instead.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily object} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: The object with keys to filter.
\item {\ttfamily patterns} $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: One or more glob patterns to use for matching.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: Returns an object with only keys that match the given patterns.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.matchKeys(object, patterns[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{var obj = \{ aa: 'a', ab: 'b', ac: 'c' \};}
\DoxyCodeLine{console.log(mm.matchKeys(obj, '*b'));}
\DoxyCodeLine{//=> \{ ab: 'b' \} }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12283}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L461\char`\"{}$>$.\+matcher$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12283}
{\itshape  Returns a memoized matcher function from the given glob {\ttfamily pattern} and {\ttfamily options}. The returned function takes a string to match as its only argument and returns true if the string is a match.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily pattern} $\ast$$\ast$\{String\}$\ast$$\ast$\+: Glob pattern
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed.
\item {\ttfamily returns} $\ast$$\ast$\{Function\}$\ast$$\ast$\+: Returns a matcher function.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.matcher(pattern[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{var isMatch = mm.matcher('*.!(*a)');}
\DoxyCodeLine{console.log(isMatch('a.a'));}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{console.log(isMatch('a.b'));}
\DoxyCodeLine{//=> true }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12284}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L536\char`\"{}$>$.\+capture$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12284}
{\itshape  Returns an array of matches captured by {\ttfamily pattern} in {\ttfamily string, or}null\`{} if the pattern did not match.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily pattern} $\ast$$\ast$\{String\}$\ast$$\ast$\+: Glob pattern to use for matching.
\item {\ttfamily string} $\ast$$\ast$\{String\}$\ast$$\ast$\+: String to match
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed
\item {\ttfamily returns} $\ast$$\ast$\{Boolean\}$\ast$$\ast$\+: Returns an array of captures if the string matches the glob pattern, otherwise {\ttfamily null}.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.capture(pattern, string[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.capture('test/*.js', 'test/foo.js'));}
\DoxyCodeLine{//=> ['foo']}
\DoxyCodeLine{console.log(mm.capture('test/*.js', 'foo/bar.css'));}
\DoxyCodeLine{//=> null }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12285}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L571\char`\"{}$>$.\+make\+Re$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12285}
{\itshape  Create a regular expression from the given glob {\ttfamily pattern}.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily pattern} $\ast$$\ast$\{String\}$\ast$$\ast$\+: A glob pattern to convert to regex.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}} for changing how matches are performed.
\item {\ttfamily returns} $\ast$$\ast$\{Reg\+Exp\}$\ast$$\ast$\+: Returns a regex created from the given pattern.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.makeRe(pattern[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.makeRe('*.js'));}
\DoxyCodeLine{//=> /\string^(?:(\(\backslash\).[\(\backslash\)\(\backslash\)\(\backslash\)/])?(?!\(\backslash\).)(?=.)[\string^\(\backslash\)/]*?\(\backslash\).js)\$/ }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12286}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L618\char`\"{}$>$.\+braces$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12286}
{\itshape  Expand the given brace {\ttfamily pattern}.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily pattern} $\ast$$\ast$\{String\}$\ast$$\ast$\+: String with brace pattern to expand.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: Any \href{\#options}{\texttt{ options}} to change how expansion is performed. See the \href{https://github.com/micromatch/braces}{\texttt{ braces}} library for all available options.
\item {\ttfamily returns} $\ast$$\ast$\{Array\}$\ast$$\ast$
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{console.log(mm.braces('foo/\{a,b\}/bar'));}
\DoxyCodeLine{//=> ['foo/(a|b)/bar']}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.braces('foo/\{a,b\}/bar', \{expand: true\}));}
\DoxyCodeLine{//=> ['foo/(a|b)/bar'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12287}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L685\char`\"{}$>$.\+create$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12287}
{\itshape  Parses the given glob {\ttfamily pattern} and returns an array of abstract syntax trees (ASTs), with the compiled {\ttfamily output} and optional source {\ttfamily map} on each AST.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily pattern} $\ast$$\ast$\{String\}$\ast$$\ast$\+: Glob pattern to parse and compile.
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: Any \href{\#options}{\texttt{ options}} to change how parsing and compiling is performed.
\item {\ttfamily returns} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: Returns an object with the parsed AST, compiled string and optional source map.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.create(pattern[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.create('abc/*.js'));}
\DoxyCodeLine{// [\{ options: \{ source: 'string', sourcemap: true \},}
\DoxyCodeLine{//   state: \{\},}
\DoxyCodeLine{//   compilers:}
\DoxyCodeLine{//    \{ ... \},}
\DoxyCodeLine{//   output: '(\(\backslash\)\(\backslash\).[\(\backslash\)\(\backslash\)\(\backslash\)\(\backslash\)\(\backslash\)\(\backslash\)/])?abc\(\backslash\)\(\backslash\)/(?!\(\backslash\)\(\backslash\).)(?=.)[\string^\(\backslash\)\(\backslash\)/]*?\(\backslash\)\(\backslash\).js',}
\DoxyCodeLine{//   ast:}
\DoxyCodeLine{//    \{ type: 'root',}
\DoxyCodeLine{//      errors: [],}
\DoxyCodeLine{//      nodes:}
\DoxyCodeLine{//       [ ... ],}
\DoxyCodeLine{//      dot: false,}
\DoxyCodeLine{//      input: 'abc/*.js' \},}
\DoxyCodeLine{//   parsingErrors: [],}
\DoxyCodeLine{//   map:}
\DoxyCodeLine{//    \{ version: 3,}
\DoxyCodeLine{//      sources: [ 'string' ],}
\DoxyCodeLine{//      names: [],}
\DoxyCodeLine{//      mappings: 'AAAA,GAAG,EAAC,kBAAC,EAAC,EAAE',}
\DoxyCodeLine{//      sourcesContent: [ 'abc/*.js' ] \},}
\DoxyCodeLine{//   position: \{ line: 1, column: 28 \},}
\DoxyCodeLine{//   content: \{\},}
\DoxyCodeLine{//   files: \{\},}
\DoxyCodeLine{//   idx: 6 \}] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12288}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L732\char`\"{}$>$.\+parse$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12288}
{\itshape  Parse the given {\ttfamily str} with the given {\ttfamily options}.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily str} $\ast$$\ast$\{String\}$\ast$$\ast$
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$
\item {\ttfamily returns} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: Returns an AST
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.parse(pattern[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{var ast = mm.parse('a/\{b,c\}/d');}
\DoxyCodeLine{console.log(ast);}
\DoxyCodeLine{// \{ type: 'root',}
\DoxyCodeLine{//   errors: [],}
\DoxyCodeLine{//   input: 'a/\{b,c\}/d',}
\DoxyCodeLine{//   nodes:}
\DoxyCodeLine{//    [ \{ type: 'bos', val: '' \},}
\DoxyCodeLine{//      \{ type: 'text', val: 'a/' \},}
\DoxyCodeLine{//      \{ type: 'brace',}
\DoxyCodeLine{//        nodes:}
\DoxyCodeLine{//         [ \{ type: 'brace.open', val: '\{' \},}
\DoxyCodeLine{//           \{ type: 'text', val: 'b,c' \},}
\DoxyCodeLine{//           \{ type: 'brace.close', val: '\}' \} ] \},}
\DoxyCodeLine{//      \{ type: 'text', val: '/d' \},}
\DoxyCodeLine{//      \{ type: 'eos', val: '' \} ] \} }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12289}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L780\char`\"{}$>$.\+compile$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12289}
{\itshape  Compile the given {\ttfamily ast} or string with the given {\ttfamily options}.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily ast} $\ast$$\ast$\{Object$\vert$\+String\}$\ast$$\ast$
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$
\item {\ttfamily returns} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: Returns an object that has an {\ttfamily output} property with the compiled string.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{mm.compile(ast[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{var ast = mm.parse('a/\{b,c\}/d');}
\DoxyCodeLine{console.log(mm.compile(ast));}
\DoxyCodeLine{// \{ options: \{ source: 'string' \},}
\DoxyCodeLine{//   state: \{\},}
\DoxyCodeLine{//   compilers:}
\DoxyCodeLine{//    \{ eos: [Function],}
\DoxyCodeLine{//      noop: [Function],}
\DoxyCodeLine{//      bos: [Function],}
\DoxyCodeLine{//      brace: [Function],}
\DoxyCodeLine{//      'brace.open': [Function],}
\DoxyCodeLine{//      text: [Function],}
\DoxyCodeLine{//      'brace.close': [Function] \},}
\DoxyCodeLine{//   output: [ 'a/(b|c)/d' ],}
\DoxyCodeLine{//   ast:}
\DoxyCodeLine{//    \{ ... \},}
\DoxyCodeLine{//   parsingErrors: [] \} }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12290}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L801\char`\"{}$>$.\+clear\+Cache$<$/a$>$}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12290}
{\itshape  Clear the regex cache.}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm.clearCache(); }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12291}{}\doxysection{Options}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12291}
{\itshape 
\begin{DoxyItemize}
\item \href{\#optionsbasename}{\texttt{ basename}}
\item \href{\#optionsbash}{\texttt{ bash}}
\item \href{\#optionscache}{\texttt{ cache}}
\item \href{\#optionsdot}{\texttt{ dot}}
\item \href{\#optionsfailglob}{\texttt{ failglob}}
\item \href{\#optionsignore}{\texttt{ ignore}}
\item \href{\#optionsmatchBase}{\texttt{ match\+Base}}
\item \href{\#optionsnobrace}{\texttt{ nobrace}}
\item \href{\#optionsnocase}{\texttt{ nocase}}
\item \href{\#optionsnodupes}{\texttt{ nodupes}}
\item \href{\#optionsnoext}{\texttt{ noext}}
\item \href{\#optionsnoglobstar}{\texttt{ noglobstar}}
\item \href{\#optionsnonull}{\texttt{ nonull}}
\item \href{\#optionsnullglob}{\texttt{ nullglob}}
\item \href{\#optionssnapdragon}{\texttt{ snapdragon}}
\item \href{\#optionssourcemap}{\texttt{ sourcemap}}
\item \href{\#optionsunescape}{\texttt{ unescape}}
\item \href{\#optionsunixify}{\texttt{ unixify}}
\end{DoxyItemize}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12292}{}\doxysubsection{options.\+basename}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12292}
{\itshape  Allow glob patterns without slashes to match a file path based on its basename. Same behavior as \href{https://github.com/isaacs/minimatch}{\texttt{ minimatch}} option {\ttfamily match\+Base}.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily false}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm(['a/b.js', 'a/c.md'], '*.js');}
\DoxyCodeLine{//=> []}
\DoxyCodeLine{}
\DoxyCodeLine{mm(['a/b.js', 'a/c.md'], '*.js', \{matchBase: true\});}
\DoxyCodeLine{//=> ['a/b.js'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12293}{}\doxysubsection{options.\+bash}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12293}
{\itshape  Enabled by default, this option enforces bash-\/like behavior with stars immediately following a bracket expression. Bash bracket expressions are similar to regex character classes, but unlike regex, a star following a bracket expression {\bfseries{does not repeat the bracketed characters}}. Instead, the star is treated the same as an other star.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily true}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var files = ['abc', 'ajz'];}
\DoxyCodeLine{console.log(mm(files, '[a-\/c]*'));}
\DoxyCodeLine{//=> ['abc', 'ajz']}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm(files, '[a-\/c]*', \{bash: false\})); }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12294}{}\doxysubsection{options.\+cache}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12294}
{\itshape  Disable regex and function memoization.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12295}{}\doxysubsection{options.\+dot}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12295}
{\itshape  Match dotfiles. Same behavior as \href{https://github.com/isaacs/minimatch}{\texttt{ minimatch}} option {\ttfamily dot}.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily false}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12296}{}\doxysubsection{options.\+failglob}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12296}
{\itshape  Similar to the {\ttfamily -\/-\/failglob} behavior in Bash, throws an error when no matches are found.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12297}{}\doxysubsection{options.\+ignore}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12297}
{\itshape  String or array of glob patterns to match files to ignore.}

{\itshape {\bfseries{Type}}\+: {\ttfamily String$\vert$\+Array}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12298}{}\doxysubsection{options.\+match\+Base}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12298}
{\itshape  Alias for \href{\#options-basename}{\texttt{ options.\+basename}}.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12299}{}\doxysubsection{options.\+nobrace}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12299}
{\itshape  Disable expansion of brace patterns. Same behavior as \href{https://github.com/isaacs/minimatch}{\texttt{ minimatch}} option {\ttfamily nobrace}.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape See \href{https://github.com/micromatch/braces}{\texttt{ braces}} for more information about extended brace expansion.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12300}{}\doxysubsection{options.\+nocase}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12300}
{\itshape  Use a case-\/insensitive regex for matching files. Same behavior as \href{https://github.com/isaacs/minimatch}{\texttt{ minimatch}}.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12301}{}\doxysubsection{options.\+nodupes}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12301}
{\itshape  Remove duplicate elements from the result array.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape {\bfseries{Example}}}

{\itshape Example of using the {\ttfamily unescape} and {\ttfamily nodupes} options together\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm.match(['a/b/c', 'a/b/c'], 'a/b/c');}
\DoxyCodeLine{//=> ['a/b/c', 'a/b/c']}
\DoxyCodeLine{}
\DoxyCodeLine{mm.match(['a/b/c', 'a/b/c'], 'a/b/c', \{nodupes: true\});}
\DoxyCodeLine{//=> ['abc'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12302}{}\doxysubsection{options.\+noext}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12302}
{\itshape  Disable extglob support, so that extglobs are regarded as literal characters.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape {\bfseries{Examples}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm(['a/z', 'a/b', 'a/!(z)'], 'a/!(z)');}
\DoxyCodeLine{//=> ['a/b', 'a/!(z)']}
\DoxyCodeLine{}
\DoxyCodeLine{mm(['a/z', 'a/b', 'a/!(z)'], 'a/!(z)', \{noext: true\});}
\DoxyCodeLine{//=> ['a/!(z)'] (matches only as literal characters) }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12303}{}\doxysubsection{options.\+nonegate}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12303}
{\itshape  Disallow negation ({\ttfamily !}) patterns, and treat leading {\ttfamily !} as a literal character to match.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12304}{}\doxysubsection{options.\+noglobstar}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12304}
{\itshape  Disable matching with globstars ({\ttfamily $\ast$$\ast$}).}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm(['a/b', 'a/b/c', 'a/b/c/d'], 'a/**');}
\DoxyCodeLine{//=> ['a/b', 'a/b/c', 'a/b/c/d']}
\DoxyCodeLine{}
\DoxyCodeLine{mm(['a/b', 'a/b/c', 'a/b/c/d'], 'a/**', \{noglobstar: true\});}
\DoxyCodeLine{//=> ['a/b'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12305}{}\doxysubsection{options.\+nonull}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12305}
{\itshape  Alias for \href{\#options-nullglob}{\texttt{ options.\+nullglob}}.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12306}{}\doxysubsection{options.\+nullglob}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12306}
{\itshape  If {\ttfamily true}, when no matches are found the actual (arrayified) glob pattern is returned instead of an empty array. Same behavior as \href{https://github.com/isaacs/minimatch}{\texttt{ minimatch}} option {\ttfamily nonull}.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12307}{}\doxysubsection{options.\+snapdragon}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12307}
{\itshape  Pass your own instance of \href{https://github.com/jonschlinkert/snapdragon}{\texttt{ snapdragon}}, to customize parsers or compilers.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Object}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12308}{}\doxysubsection{options.\+sourcemap}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12308}
{\itshape  Generate a source map by enabling the {\ttfamily sourcemap} option with the {\ttfamily .parse}, {\ttfamily .compile}, or {\ttfamily .create} methods.}

{\itshape \+\_\+(\+Note that sourcemaps are currently not enabled for brace patterns)\+\_\+}

{\itshape {\bfseries{Examples}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{var mm = require('micromatch');}
\DoxyCodeLine{var pattern = '*(*(of*(a)x)z)';}
\DoxyCodeLine{}
\DoxyCodeLine{var res = mm.create('abc/*.js', \{sourcemap: true\});}
\DoxyCodeLine{console.log(res.map);}
\DoxyCodeLine{// \{ version: 3,}
\DoxyCodeLine{//   sources: [ 'string' ],}
\DoxyCodeLine{//   names: [],}
\DoxyCodeLine{//   mappings: 'AAAA,GAAG,EAAC,iBAAC,EAAC,EAAE',}
\DoxyCodeLine{//   sourcesContent: [ 'abc/*.js' ] \}}
\DoxyCodeLine{}
\DoxyCodeLine{var ast = mm.parse('abc/**/*.js');}
\DoxyCodeLine{var res = mm.compile(ast, \{sourcemap: true\});}
\DoxyCodeLine{console.log(res.map);}
\DoxyCodeLine{// \{ version: 3,}
\DoxyCodeLine{//   sources: [ 'string' ],}
\DoxyCodeLine{//   names: [],}
\DoxyCodeLine{//   mappings: 'AAAA,GAAG,EAAC,2BAAE,EAAC,iBAAC,EAAC,EAAE',}
\DoxyCodeLine{//   sourcesContent: [ 'abc/**/*.js' ] \}}
\DoxyCodeLine{}
\DoxyCodeLine{var ast = mm.parse(pattern);}
\DoxyCodeLine{var res = mm.compile(ast, \{sourcemap: true\});}
\DoxyCodeLine{console.log(res.map);}
\DoxyCodeLine{// \{ version: 3,}
\DoxyCodeLine{//   sources: [ 'string' ],}
\DoxyCodeLine{//   names: [],}
\DoxyCodeLine{//   mappings: 'AAAA,CAAE,CAAE,EAAE,CAAE,CAAC,EAAC,CAAC,EAAC,CAAC,EAAC',}
\DoxyCodeLine{//   sourcesContent: [ '*(*(of*(a)x)z)' ] \} }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12309}{}\doxysubsection{options.\+unescape}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12309}
{\itshape  Remove backslashes from returned matches.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily undefined}}

{\itshape {\bfseries{Example}}}

{\itshape In this example we want to match a literal {\ttfamily $\ast$}\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm.match(['abc', 'a\(\backslash\)\(\backslash\)*c'], 'a\(\backslash\)\(\backslash\)*c');}
\DoxyCodeLine{//=> ['a\(\backslash\)\(\backslash\)*c']}
\DoxyCodeLine{}
\DoxyCodeLine{mm.match(['abc', 'a\(\backslash\)\(\backslash\)*c'], 'a\(\backslash\)\(\backslash\)*c', \{unescape: true\});}
\DoxyCodeLine{//=> ['a*c'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12310}{}\doxysubsection{options.\+unixify}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12310}
{\itshape  Convert path separators on returned files to posix/unix-\/style forward slashes.}

{\itshape {\bfseries{Type}}\+: {\ttfamily Boolean}}

{\itshape {\bfseries{Default}}\+: {\ttfamily true} on windows, {\ttfamily false} everywhere else}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm.match(['a\(\backslash\)\(\backslash\)b\(\backslash\)\(\backslash\)c'], 'a/**');}
\DoxyCodeLine{//=> ['a/b/c']}
\DoxyCodeLine{}
\DoxyCodeLine{mm.match(['a\(\backslash\)\(\backslash\)b\(\backslash\)\(\backslash\)c'], \{unixify: false\});}
\DoxyCodeLine{//=> ['a\(\backslash\)\(\backslash\)b\(\backslash\)\(\backslash\)c'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12311}{}\doxysection{Extended globbing}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12311}
{\itshape  Micromatch also supports extended globbing features.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12312}{}\doxysubsection{extglobs}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12312}
{\itshape  Extended globbing, as described by the bash man page\+:}

{\itshape \tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{3}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{pattern}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{regex equivalent}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{description}}    }\\\cline{1-3}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{pattern}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{regex equivalent}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{description}}    }\\\cline{1-3}
\endhead
{\ttfamily ?(pattern)}   &{\ttfamily (pattern)?}   &Matches zero or one occurrence of the given patterns    \\\cline{1-3}
{\ttfamily $\ast$(pattern)}   &{\ttfamily (pattern)$\ast$}   &Matches zero or more occurrences of the given patterns    \\\cline{1-3}
{\ttfamily +(pattern)}   &{\ttfamily (pattern)+}   &Matches one or more occurrences of the given patterns    \\\cline{1-3}
{\ttfamily @(pattern)}   &{\ttfamily (pattern)} \textsuperscript{$\ast$}   &Matches one of the given patterns    \\\cline{1-3}
{\ttfamily !(pattern)}   &N/A (equivalent regex is much more complicated)   &Matches anything except one of the given patterns   \\\cline{1-3}
\end{longtabu}
}

{\itshape \textsuperscript{{\bfseries{$\ast$}}} Note that {\ttfamily @} isn\textquotesingle{}t a Reg\+Ex character.}

{\itshape Powered by \href{https://github.com/micromatch/extglob}{\texttt{ extglob}}. Visit that library for the full range of options or to report extglob related issues.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12313}{}\doxysubsection{braces}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12313}
{\itshape  Brace patterns can be used to match specific ranges or sets of characters. For example, the pattern {\ttfamily $\ast$/\{1..3\}/$\ast$} would match any of following strings\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{foo/1/bar}
\DoxyCodeLine{foo/2/bar}
\DoxyCodeLine{foo/3/bar}
\DoxyCodeLine{baz/1/qux}
\DoxyCodeLine{baz/2/qux}
\DoxyCodeLine{baz/3/qux }

\end{DoxyCode}
}

{\itshape Visit \href{https://github.com/micromatch/braces}{\texttt{ braces}} to see the full range of features and options related to brace expansion, or to create brace matching or expansion related issues.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12314}{}\doxysubsection{regex character classes}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12314}
{\itshape  Given the list\+: `\mbox{[}\textquotesingle{}a.\+js', \textquotesingle{}b.\+js\textquotesingle{}, \textquotesingle{}c.\+js\textquotesingle{}, \textquotesingle{}d.\+js\textquotesingle{}, \textquotesingle{}E.\+js\textquotesingle{}\mbox{]}\`{}\+:}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily \mbox{[}ac\mbox{]}.js}\+: matches both {\ttfamily a} and {\ttfamily c}, returning `\mbox{[}\textquotesingle{}a.\+js', \textquotesingle{}c.\+js\textquotesingle{}\mbox{]}{\ttfamily  $\ast$}\mbox{[}b-\/d\mbox{]}.js{\ttfamily \+: matches from}b{\ttfamily to}d{\ttfamily , returning}\mbox{[}\textquotesingle{}b.\+js\textquotesingle{}, \textquotesingle{}c.\+js\textquotesingle{}, \textquotesingle{}d.\+js\textquotesingle{}\mbox{]}{\ttfamily  $\ast$}\mbox{[}b-\/d\mbox{]}.js{\ttfamily \+: matches from}b{\ttfamily to}d{\ttfamily , returning}\mbox{[}\textquotesingle{}b.\+js\textquotesingle{}, \textquotesingle{}c.\+js\textquotesingle{}, \textquotesingle{}d.\+js\textquotesingle{}\mbox{]}{\ttfamily  $\ast$}a/\mbox{[}A-\/Z\mbox{]}.js{\ttfamily \+: matches and uppercase letter, returning}\mbox{[}\textquotesingle{}a/\+E.\+md\textquotesingle{}\mbox{]}\`{}
\end{DoxyItemize}}

{\itshape Learn about \href{http://www.regular-expressions.info/charclass.html}{\texttt{ regex character classes}}.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12315}{}\doxysubsection{regex groups}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12315}
{\itshape  Given `\mbox{[}\textquotesingle{}a.\+js', \textquotesingle{}b.\+js\textquotesingle{}, \textquotesingle{}c.\+js\textquotesingle{}, \textquotesingle{}d.\+js\textquotesingle{}, \textquotesingle{}E.\+js\textquotesingle{}\mbox{]}\`{}\+:}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily (a$\vert$c).js}\+: would match either {\ttfamily a} or {\ttfamily c}, returning `\mbox{[}\textquotesingle{}a.\+js', \textquotesingle{}c.\+js\textquotesingle{}\mbox{]}{\ttfamily  $\ast$}(b$\vert$d).js{\ttfamily \+: would match either}b{\ttfamily or}d{\ttfamily , returning}\mbox{[}\textquotesingle{}b.\+js\textquotesingle{}, \textquotesingle{}d.\+js\textquotesingle{}\mbox{]}{\ttfamily  $\ast$}(b$\vert$\mbox{[}A-\/Z\mbox{]}).js{\ttfamily \+: would match either}b{\ttfamily or an uppercase letter, returning}\mbox{[}\textquotesingle{}b.\+js\textquotesingle{}, \textquotesingle{}E.\+js\textquotesingle{}\mbox{]}\`{}
\end{DoxyItemize}}

{\itshape As with regex, parens can be nested, so patterns like {\ttfamily ((a$\vert$b)$\vert$c)/b} will work. Although brace expansion might be friendlier to use, depending on preference.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12316}{}\doxysubsection{POSIX bracket expressions}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12316}
{\itshape  POSIX brackets are intended to be more user-\/friendly than regex character classes. This of course is in the eye of the beholder.}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{mm.isMatch('a1', '[[:alpha:][:digit:]]');}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{}
\DoxyCodeLine{mm.isMatch('a1', '[[:alpha:][:alpha:]]');}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
}

{\itshape See \href{https://github.com/jonschlinkert/expand-brackets}{\texttt{ expand-\/brackets}} for more information about bracket expressions.}

{\itshape \DoxyHorRuler{0}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12317}{}\doxysection{Notes}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12317}
{\itshape  }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12318}{}\doxysubsection{Bash 4.\+3 parity}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12318}
{\itshape  Whenever possible matching behavior is based on behavior Bash 4.\+3, which is mostly consistent with minimatch.}

{\itshape However, it\textquotesingle{}s suprising how many edge cases and rabbit holes there are with glob matching, and since there is no real glob specification, and micromatch is more accurate than both Bash and minimatch, there are cases where best-\/guesses were made for behavior. In a few cases where Bash had no answers, we used wildmatch (used by git) as a fallback.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12319}{}\doxysubsection{Backslashes}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12319}
{\itshape  There is an important, notable difference between minimatch and micromatch {\itshape in regards to how backslashes are handled} in glob patterns.}

{\itshape 
\begin{DoxyItemize}
\item Micromatch exclusively and explicitly reserves backslashes for escaping characters in a glob pattern, even on windows. This is consistent with bash behavior.
\item Minimatch converts all backslashes to forward slashes, which means you can\textquotesingle{}t use backslashes to escape any characters in your glob patterns.
\end{DoxyItemize}}

{\itshape We made this decision for micromatch for a couple of reasons\+:}

{\itshape 
\begin{DoxyItemize}
\item consistency with bash conventions.
\item glob patterns are not filepaths. They are a type of \href{https://en.wikipedia.org/wiki/Regular_language}{\texttt{ regular language}} that is converted to a Java\+Script regular expression. Thus, when forward slashes are defined in a glob pattern, the resulting regular expression will match windows or POSIX path separators just fine.
\end{DoxyItemize}}

{\itshape {\bfseries{A note about joining paths to globs}}}

{\itshape Note that when you pass something like `path.\+join(\textquotesingle{}foo', \textquotesingle{}$\ast$\textquotesingle{}){\ttfamily to micromatch, you are creating a filepath and expecting it to still work as a glob pattern. This causes problems on windows, since the}path.\+sep$<$tt$>$is\textbackslash{}\`{}.}

{\itshape In other words, since {\ttfamily \textbackslash{}\textbackslash{}} is reserved as an escape character in globs, on windows `path.\+join(\textquotesingle{}foo', \textquotesingle{}$\ast$\textquotesingle{}){\ttfamily would result in}foo\textbackslash{}$\ast${\ttfamily , which tells micromatch to match}$\ast$\`{} as a literal character. This is the same behavior as bash.}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12320}{}\doxysection{Contributing}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12320}
{\itshape  All contributions are welcome! Please read the contributing guide to get started.}

{\itshape {\bfseries{Bug reports}}}

{\itshape Please create an issue if you encounter a bug or matching behavior that doesn\textquotesingle{}t seem correct. If you find a matching-\/related issue, please\+:}

{\itshape 
\begin{DoxyItemize}
\item \href{../../issues}{\texttt{ research existing issues first}} (open and closed)
\item visit the \href{https://www.gnu.org/software/bash/manual/}{\texttt{ GNU Bash documentation}} to see how Bash deals with the pattern
\item visit the \href{https://github.com/isaacs/minimatch}{\texttt{ minimatch}} documentation to cross-\/check expected behavior in node.\+js
\item if all else fails, since there is no real specification for globs we will probably need to discuss expected behavior and decide how to resolve it. which means any detail you can provide to help with this discussion would be greatly appreciated.
\end{DoxyItemize}}

{\itshape {\bfseries{Platform issues}}}

{\itshape It\textquotesingle{}s important to us that micromatch work consistently on all platforms. If you encounter any platform-\/specific matching or path related issues, please let us know (pull requests are also greatly appreciated).}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12321}{}\doxysection{Benchmarks}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12321}
{\itshape  }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12322}{}\doxysubsection{Running benchmarks}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12322}
{\itshape  Install dev dependencies\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{npm i -\/d \&\& npm run benchmark }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12323}{}\doxysubsection{Latest results}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12323}
{\itshape  As of February 18, 2018 (longer bars are better)\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{\# braces-\/globstar-\/large-\/list (485691 bytes)}
\DoxyCodeLine{  micromatch ██████████████████████████████████████████████████ (517 ops/sec ±0.49\%)}
\DoxyCodeLine{  minimatch  █ (18.92 ops/sec ±0.54\%)}
\DoxyCodeLine{  multimatch █ (18.94 ops/sec ±0.62\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 2,733\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# braces-\/multiple (3362 bytes)}
\DoxyCodeLine{  micromatch ██████████████████████████████████████████████████ (33,625 ops/sec ±0.45\%)}
\DoxyCodeLine{  minimatch   (2.92 ops/sec ±3.26\%)}
\DoxyCodeLine{  multimatch  (2.90 ops/sec ±2.76\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 1,156,935\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# braces-\/range (727 bytes)}
\DoxyCodeLine{  micromatch █████████████████████████████████████████████████ (155,220 ops/sec ±0.56\%)}
\DoxyCodeLine{  minimatch  ██████ (20,186 ops/sec ±1.27\%)}
\DoxyCodeLine{  multimatch ██████ (19,809 ops/sec ±0.60\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 776\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# braces-\/set (2858 bytes)}
\DoxyCodeLine{  micromatch █████████████████████████████████████████████████ (24,354 ops/sec ±0.92\%)}
\DoxyCodeLine{  minimatch  █████ (2,566 ops/sec ±0.56\%)}
\DoxyCodeLine{  multimatch ████ (2,431 ops/sec ±1.25\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 975\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# globstar-\/large-\/list (485686 bytes)}
\DoxyCodeLine{  micromatch █████████████████████████████████████████████████ (504 ops/sec ±0.45\%)}
\DoxyCodeLine{  minimatch  ███ (33.36 ops/sec ±1.08\%)}
\DoxyCodeLine{  multimatch ███ (33.19 ops/sec ±1.35\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 1,514\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# globstar-\/long-\/list (90647 bytes)}
\DoxyCodeLine{  micromatch ██████████████████████████████████████████████████ (2,694 ops/sec ±1.08\%)}
\DoxyCodeLine{  minimatch  ████████████████ (870 ops/sec ±1.09\%)}
\DoxyCodeLine{  multimatch ████████████████ (862 ops/sec ±0.84\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 311\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# globstar-\/short-\/list (182 bytes)}
\DoxyCodeLine{  micromatch ██████████████████████████████████████████████████ (328,921 ops/sec ±1.06\%)}
\DoxyCodeLine{  minimatch  █████████ (64,808 ops/sec ±1.42\%)}
\DoxyCodeLine{  multimatch ████████ (57,991 ops/sec ±2.11\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 536\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# no-\/glob (701 bytes)}
\DoxyCodeLine{  micromatch █████████████████████████████████████████████████ (415,935 ops/sec ±0.36\%)}
\DoxyCodeLine{  minimatch  ███████████ (92,730 ops/sec ±1.44\%)}
\DoxyCodeLine{  multimatch █████████ (81,958 ops/sec ±2.13\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 476\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# star-\/basename-\/long (12339 bytes)}
\DoxyCodeLine{  micromatch █████████████████████████████████████████████████ (7,963 ops/sec ±0.36\%)}
\DoxyCodeLine{  minimatch  ███████████████████████████████ (5,072 ops/sec ±0.83\%)}
\DoxyCodeLine{  multimatch ███████████████████████████████ (5,028 ops/sec ±0.40\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 158\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# star-\/basename-\/short (349 bytes)}
\DoxyCodeLine{  micromatch ██████████████████████████████████████████████████ (269,552 ops/sec ±0.70\%)}
\DoxyCodeLine{  minimatch  ██████████████████████ (122,457 ops/sec ±1.39\%)}
\DoxyCodeLine{  multimatch ████████████████████ (110,788 ops/sec ±1.99\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 231\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# star-\/folder-\/long (19207 bytes)}
\DoxyCodeLine{  micromatch █████████████████████████████████████████████████ (3,806 ops/sec ±0.38\%)}
\DoxyCodeLine{  minimatch  ████████████████████████████ (2,204 ops/sec ±0.32\%)}
\DoxyCodeLine{  multimatch ██████████████████████████ (2,020 ops/sec ±1.07\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 180\%}
\DoxyCodeLine{}
\DoxyCodeLine{\# star-\/folder-\/short (551 bytes)}
\DoxyCodeLine{  micromatch ██████████████████████████████████████████████████ (249,077 ops/sec ±0.40\%)}
\DoxyCodeLine{  minimatch  ███████████ (59,431 ops/sec ±1.67\%)}
\DoxyCodeLine{  multimatch ███████████ (55,569 ops/sec ±1.43\%)}
\DoxyCodeLine{}
\DoxyCodeLine{  micromatch is faster by an avg. of 433\% }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12324}{}\doxysection{About}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12324}
{\itshape  $<$details$>$}

{\itshape }

{\itshape {\bfseries{Contributing}} }

{\itshape }

{\itshape Pull requests and stars are always welcome. For bugs and feature requests, \href{../../issues/new}{\texttt{ please create an issue}}.}

{\itshape Please read the contributing guide for advice on opening issues, pull requests, and coding standards.}

{\itshape $<$/details$>$}

{\itshape $<$details$>$}

{\itshape }

{\itshape {\bfseries{Running Tests}} }

{\itshape }

{\itshape Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install \&\& npm test }

\end{DoxyCode}
}

{\itshape $<$/details$>$}

{\itshape $<$details$>$}

{\itshape }

{\itshape {\bfseries{Building docs}} }

{\itshape }

{\itshape \+\_\+(This project\textquotesingle{}s readme.\+md is generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb}}, please don\textquotesingle{}t edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)\+\_\+}

{\itshape To generate the readme, run the following command\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/g verbose/verb\#dev verb-\/generate-\/readme \&\& verb }

\end{DoxyCode}
}

{\itshape $<$/details$>$}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12325}{}\doxysubsection{Related projects}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12325}
{\itshape  You might also be interested in these projects\+:}

{\itshape 
\begin{DoxyItemize}
\item \href{https://www.npmjs.com/package/braces}{\texttt{ braces}}\+: Bash-\/like brace expansion, implemented in Java\+Script. Safer than other brace expansion libs, with complete support… \href{https://github.com/micromatch/braces}{\texttt{ more}} $\vert$ \href{https://github.com/micromatch/braces}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/expand-brackets}{\texttt{ expand-\/brackets}}\+: Expand POSIX bracket expressions (character classes) in glob patterns. $\vert$ \mbox{[}homepage\mbox{]}(\href{https://github.com/jonschlinkert/expand-brackets}{\texttt{ https\+://github.\+com/jonschlinkert/expand-\/brackets}} \char`\"{}\+Expand POSIX bracket expressions (character classes) in glob patterns.\char`\"{})
\item \href{https://www.npmjs.com/package/extglob}{\texttt{ extglob}}\+: Extended glob support for Java\+Script. Adds (almost) the expressive power of regular expressions to glob… \href{https://github.com/micromatch/extglob}{\texttt{ more}} $\vert$ \mbox{[}homepage\mbox{]}(\href{https://github.com/micromatch/extglob}{\texttt{ https\+://github.\+com/micromatch/extglob}} \char`\"{}\+Extended glob support for Java\+Script. Adds (almost) the expressive power of regular expressions to glob patterns.\char`\"{})
\item \href{https://www.npmjs.com/package/fill-range}{\texttt{ fill-\/range}}\+: Fill in a range of numbers or letters, optionally passing an increment or {\ttfamily step} to… \href{https://github.com/jonschlinkert/fill-range}{\texttt{ more}} $\vert$ \href{https://github.com/jonschlinkert/fill-range}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/nanomatch}{\texttt{ nanomatch}}\+: Fast, minimal glob matcher for node.\+js. Similar to micromatch, minimatch and multimatch, but complete Bash… \href{https://github.com/micromatch/nanomatch}{\texttt{ more}} $\vert$ \mbox{[}homepage\mbox{]}(\href{https://github.com/micromatch/nanomatch}{\texttt{ https\+://github.\+com/micromatch/nanomatch}} \char`\"{}\+Fast, minimal glob matcher for node.\+js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.\+3 wildcard support only (no support for exglobs, posix brackets or braces)\char`\"{})
\end{DoxyItemize}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12326}{}\doxysubsection{Contributors}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12326}
{\itshape  \tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{2}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Commits}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Contributor}}    }\\\cline{1-2}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Commits}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Contributor}}    }\\\cline{1-2}
\endhead
457   &\href{https://github.com/jonschlinkert}{\texttt{ jonschlinkert}}    \\\cline{1-2}
12   &\href{https://github.com/es128}{\texttt{ es128}}    \\\cline{1-2}
8   &\href{https://github.com/doowb}{\texttt{ doowb}}    \\\cline{1-2}
3   &\href{https://github.com/paulmillr}{\texttt{ paulmillr}}    \\\cline{1-2}
2   &\href{https://github.com/TrySound}{\texttt{ Try\+Sound}}    \\\cline{1-2}
2   &\href{https://github.com/MartinKolarik}{\texttt{ Martin\+Kolarik}}    \\\cline{1-2}
2   &\href{https://github.com/charlike-old}{\texttt{ charlike-\/old}}    \\\cline{1-2}
1   &\href{https://github.com/amilajack}{\texttt{ amilajack}}    \\\cline{1-2}
1   &\href{https://github.com/mrmlnc}{\texttt{ mrmlnc}}    \\\cline{1-2}
1   &\href{https://github.com/devongovett}{\texttt{ devongovett}}    \\\cline{1-2}
1   &\href{https://github.com/DianeLooney}{\texttt{ Diane\+Looney}}    \\\cline{1-2}
1   &\href{https://github.com/UltCombo}{\texttt{ Ult\+Combo}}    \\\cline{1-2}
1   &\href{https://github.com/tomByrer}{\texttt{ tom\+Byrer}}    \\\cline{1-2}
1   &\href{https://github.com/fidian}{\texttt{ fidian}}   \\\cline{1-2}
\end{longtabu}
}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12327}{}\doxysubsection{Author}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12327}
{\itshape  {\bfseries{Jon Schlinkert}}}

{\itshape 
\begin{DoxyItemize}
\item \href{https://linkedin.com/in/jonschlinkert}{\texttt{ linkedin/in/jonschlinkert}}
\item \href{https://github.com/jonschlinkert}{\texttt{ github/jonschlinkert}}
\item \href{https://twitter.com/jonschlinkert}{\texttt{ twitter/jonschlinkert}}
\end{DoxyItemize}}

{\itshape }\hypertarget{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12328}{}\doxysubsection{License}\label{md_sfcode_node_modules_http_proxy_middleware_node_modules_micromatch_README_autotoc_md12328}
{\itshape  Copyright © 2018, \href{https://github.com/jonschlinkert}{\texttt{ Jon Schlinkert}}. Released under the \mbox{[}MIT License\mbox{]}(LICENSE).}

{\itshape \DoxyHorRuler{0}
}

{\itshape {\itshape This file was generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb-\/generate-\/readme}}, v0.\+6.\+0, on February 18, 2018.} }