{\bfseries{Details}}

\begin{quote}
Glob matching for javascript/node.\+js. A 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_micromatch_README_autotoc_md17166}{}\doxysection{Table of Contents}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17166}
$<$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}}
\item \href{\#options-examples}{\texttt{ Options Examples}}
\begin{DoxyItemize}
\item \href{\#optionsbasename}{\texttt{ options.\+basename}}
\item \href{\#optionsbash}{\texttt{ options.\+bash}}
\item \href{\#optionsexpandrange}{\texttt{ options.\+expand\+Range}}
\item \href{\#optionsformat}{\texttt{ options.\+format}}
\item \href{\#optionsignore}{\texttt{ options.\+ignore}}
\item \href{\#optionsmatchbase}{\texttt{ options.\+match\+Base}}
\item \href{\#optionsnoextglob}{\texttt{ options.\+noextglob}}
\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{\#optionsonignore}{\texttt{ options.\+on\+Ignore}}
\item \href{\#optionsonmatch}{\texttt{ options.\+on\+Match}}
\item \href{\#optionsonresult}{\texttt{ options.\+on\+Result}}
\item \href{\#optionsposixslashes}{\texttt{ options.\+posix\+Slashes}}
\item \href{\#optionsunescape}{\texttt{ options.\+unescape}}
\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{\#benchmarks}{\texttt{ Benchmarks}}
\begin{DoxyItemize}
\item \href{\#running-benchmarks}{\texttt{ Running benchmarks}}
\item \href{\#latest-results}{\texttt{ Latest results}}
\end{DoxyItemize}
\item \href{\#contributing}{\texttt{ Contributing}}
\item \href{\#about}{\texttt{ About}}
\end{DoxyItemize}

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


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

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const micromatch = require('micromatch');}
\DoxyCodeLine{// micromatch(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(micromatch(['foo', 'bar', 'baz', 'qux'], ['f*', 'b*'])) //=> ['foo', 'bar', 'baz']}
\DoxyCodeLine{console.log(micromatch(['foo', 'bar', 'baz', 'qux'], ['*', '!b*'])) //=> ['foo', 'qux'] }

\end{DoxyCode}


Use \href{\#ismatch}{\texttt{ .is\+Match()}} to for boolean matching\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{console.log(micromatch.isMatch('foo', 'f*')) //=> true}
\DoxyCodeLine{console.log(micromatch.isMatch('foo', ['b*', 'f*'])) //=> true }

\end{DoxyCode}


\href{\#switching-to-micromatch}{\texttt{ Switching}} from minimatch and multimatch is easy!

~\newline
\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17169}{}\doxysection{Why use micromatch?}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17169}
\begin{quote}
micromatch is a \href{\#switching-to-micromatch}{\texttt{ 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 More complete support for the Bash 4.\+3 specification than minimatch and multimatch. Micromatch passes {\itshape all of the spec tests} from bash, including some that bash still fails.
\item {\bfseries{Fast \& Performant}} -\/ Loads in about 5ms and performs \href{\#benchmarks}{\texttt{ fast matches}}.
\item {\bfseries{Glob matching}} -\/ Using wildcards ({\ttfamily $\ast$} and {\ttfamily ?}), globstars ({\ttfamily $\ast$$\ast$}) for nested directories
\item {\bfseries{\href{\#advanced-globbing}{\texttt{ Advanced globbing}}}} -\/ Supports \href{\#extglobs}{\texttt{ extglobs}}, \href{\#braces}{\texttt{ braces}}, and \href{\#posix-bracket-expressions}{\texttt{ POSIX brackets}}, and support for escaping special characters with {\ttfamily \textbackslash{}} or quotes.
\item {\bfseries{Accurate}} -\/ Covers more scenarios \href{https://github.com/yarnpkg/yarn/pull/3339}{\texttt{ than minimatch}}
\item {\bfseries{Well tested}} -\/ More than 5,000 \href{./test}{\texttt{ test assertions}}
\item {\bfseries{Windows support}} -\/ More reliable windows support than minimatch and multimatch.
\item {\bfseries{\href{https://github.com/micromatch/braces\#braces-is-safe}{\texttt{ Safe}}}} -\/ Micromatch is not subject to DoS with brace patterns like minimatch and multimatch.
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17170}{}\doxysubsection{Matching features}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17170}

\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{]}(\#extglobs) (}+(x$\vert$y){\ttfamily ,}!(a$\vert$b){\ttfamily )}}
\item {\itshape {\ttfamily \mbox{[}POSIX character classes\mbox{]}(\#posix-\/bracket-\/expressions) (}\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_micromatch_README_autotoc_md17171}{}\doxysection{Switching to micromatch}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17171}
{\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_micromatch_README_autotoc_md17172}{}\doxysubsection{From minimatch}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17172}
{\itshape  Use \href{\#ismatch}{\texttt{ micromatch.\+is\+Match()}} instead of {\ttfamily minimatch()}\+:}

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

\end{DoxyCode}
}

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

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

\end{DoxyCode}
}

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

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

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17174}{}\doxysection{API}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17174}
{\itshape  {\bfseries{Params}}}

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

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{const 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_micromatch_README_autotoc_md17175}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L98\char`\"{}$>$.\+matcher$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17175}
{\itshape  Returns a 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$
\item {\ttfamily returns} $\ast$$\ast$\{Function\}$\ast$$\ast$\+: Returns a matcher function.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

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

\end{DoxyCode}
}

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

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item $\ast$$\ast$\{String\}$\ast$$\ast$\+: str The string to test.
\item $\ast$$\ast$\{String$\vert$\+Array\}$\ast$$\ast$\+: patterns One or more glob patterns to use for matching.
\item $\ast$$\ast$\{Object\}$\ast$$\ast$\+: See available \href{\#options}{\texttt{ options}}.
\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{const mm = require('micromatch');}
\DoxyCodeLine{// mm.isMatch(string, patterns[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true}
\DoxyCodeLine{console.log(mm.isMatch('a.a', 'b.*')); //=> false }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17177}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L136\char`\"{}$>$.\+not$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17177}
{\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{const 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_micromatch_README_autotoc_md17178}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L176\char`\"{}$>$.\+contains$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17178}
{\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_micromatch_README_autotoc_md17179}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L218\char`\"{}$>$.\+match\+Keys$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17179}
{\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{const mm = require('micromatch');}
\DoxyCodeLine{// mm.matchKeys(object, patterns[, options]);}
\DoxyCodeLine{}
\DoxyCodeLine{const 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_micromatch_README_autotoc_md17180}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L247\char`\"{}$>$.\+some$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17180}
{\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{const 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_micromatch_README_autotoc_md17181}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L283\char`\"{}$>$.\+every$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17181}
{\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{const 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_micromatch_README_autotoc_md17182}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L322\char`\"{}$>$.\+all$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17182}
{\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{const 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_micromatch_README_autotoc_md17183}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L349\char`\"{}$>$.\+capture$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17183}
{\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 glob} $\ast$$\ast$\{String\}$\ast$$\ast$\+: Glob pattern to use for matching.
\item {\ttfamily input} $\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 input matches the glob pattern, otherwise {\ttfamily null}.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{const 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_micromatch_README_autotoc_md17184}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L375\char`\"{}$>$.\+make\+Re$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17184}
{\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$
\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{const 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_micromatch_README_autotoc_md17185}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L391\char`\"{}$>$.\+scan$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17185}
{\itshape  Scan a glob pattern to separate the pattern into segments. Used by the \href{\#split}{\texttt{ split}} method.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily pattern} $\ast$$\ast$\{String\}$\ast$$\ast$
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$
\item {\ttfamily returns} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: Returns an object with
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{const mm = require('micromatch');}
\DoxyCodeLine{const state = mm.scan(pattern[, options]); }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17186}{}\doxysubsection{$<$a href=\char`\"{}index.\+js\#\+L407\char`\"{}$>$.\+parse$<$/a$>$}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17186}
{\itshape  Parse a glob pattern to create the source string for a regular expression.}

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily glob} $\ast$$\ast$\{String\}$\ast$$\ast$
\item {\ttfamily options} $\ast$$\ast$\{Object\}$\ast$$\ast$
\item {\ttfamily returns} $\ast$$\ast$\{Object\}$\ast$$\ast$\+: Returns an object with useful properties and output to be used as regex source string.
\end{DoxyItemize}}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{const mm = require('micromatch');}
\DoxyCodeLine{const state = mm(pattern[, options]); }

\end{DoxyCode}
}

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

{\itshape {\bfseries{Params}}}

{\itshape 
\begin{DoxyItemize}
\item {\ttfamily pattern} $\ast$$\ast$\{String\}$\ast$$\ast$\+: String with brace pattern to process.
\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{const \{ braces \} = require('micromatch');}
\DoxyCodeLine{console.log(braces('foo/\{a,b,c\}/bar'));}
\DoxyCodeLine{//=> [ 'foo/(a|b|c)/bar' ]}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(braces('foo/\{a,b,c\}/bar', \{ expand: true \}));}
\DoxyCodeLine{//=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17188}{}\doxysection{Options}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17188}
{\itshape  \tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{4}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Option}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Type}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Default value}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Description}}    }\\\cline{1-4}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Option}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Type}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Default value}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Description}}    }\\\cline{1-4}
\endhead
{\ttfamily basename}   &{\ttfamily boolean}   &{\ttfamily false}   &If set, then patterns without slashes will be matched against the basename of the path if it contains slashes. For example, {\ttfamily a?b} would match the path {\ttfamily /xyz/123/acb}, but not {\ttfamily /xyz/acb/123}.    \\\cline{1-4}
{\ttfamily bash}   &{\ttfamily boolean}   &{\ttfamily false}   &Follow bash matching rules more strictly -\/ disallows backslashes as escape characters, and treats single stars as globstars ({\ttfamily $\ast$$\ast$}).    \\\cline{1-4}
{\ttfamily capture}   &{\ttfamily boolean}   &{\ttfamily undefined}   &Return regex matches in supporting methods.    \\\cline{1-4}
{\ttfamily contains}   &{\ttfamily boolean}   &{\ttfamily undefined}   &Allows glob to match any part of the given string(s).    \\\cline{1-4}
{\ttfamily cwd}   &{\ttfamily string}   &{\ttfamily process.\+cwd()}   &Current working directory. Used by {\ttfamily picomatch.\+split()}    \\\cline{1-4}
{\ttfamily debug}   &{\ttfamily boolean}   &{\ttfamily undefined}   &Debug regular expressions when an error is thrown.    \\\cline{1-4}
{\ttfamily dot}   &{\ttfamily boolean}   &{\ttfamily false}   &Match dotfiles. Otherwise dotfiles are ignored unless a {\ttfamily .} is explicitly defined in the pattern.    \\\cline{1-4}
{\ttfamily expand\+Range}   &{\ttfamily function}   &{\ttfamily undefined}   &Custom function for expanding ranges in brace patterns, such as {\ttfamily \{a..z\}}. The function receives the range values as two arguments, and it must return a string to be used in the generated regex. It\textquotesingle{}s recommended that returned strings be wrapped in parentheses. This option is overridden by the {\ttfamily expand\+Brace} option.    \\\cline{1-4}
{\ttfamily failglob}   &{\ttfamily boolean}   &{\ttfamily false}   &Similar to the {\ttfamily failglob} behavior in Bash, throws an error when no matches are found. Based on the bash option of the same name.    \\\cline{1-4}
{\ttfamily fastpaths}   &{\ttfamily boolean}   &{\ttfamily true}   &To speed up processing, full parsing is skipped for a handful common glob patterns. Disable this behavior by setting this option to {\ttfamily false}.    \\\cline{1-4}
{\ttfamily flags}   &{\ttfamily boolean}   &{\ttfamily undefined}   &Regex flags to use in the generated regex. If defined, the {\ttfamily nocase} option will be overridden.    \\\cline{1-4}
\href{\#optionsformat}{\texttt{ format}}   &{\ttfamily function}   &{\ttfamily undefined}   &Custom function for formatting the returned string. This is useful for removing leading slashes, converting Windows paths to Posix paths, etc.    \\\cline{1-4}
{\ttfamily ignore}   &{\ttfamily array\textbackslash{}$\vert$string}   &{\ttfamily undefined}   &One or more glob patterns for excluding strings that should not be matched from the result.    \\\cline{1-4}
{\ttfamily keep\+Quotes}   &{\ttfamily boolean}   &{\ttfamily false}   &Retain quotes in the generated regex, since quotes may also be used as an alternative to backslashes.    \\\cline{1-4}
{\ttfamily literal\+Brackets}   &{\ttfamily boolean}   &{\ttfamily undefined}   &When {\ttfamily true}, brackets in the glob pattern will be escaped so that only literal brackets will be matched.    \\\cline{1-4}
{\ttfamily lookbehinds}   &{\ttfamily boolean}   &{\ttfamily true}   &Support regex positive and negative lookbehinds. Note that you must be using Node 8.\+1.\+10 or higher to enable regex lookbehinds.    \\\cline{1-4}
{\ttfamily match\+Base}   &{\ttfamily boolean}   &{\ttfamily false}   &Alias for {\ttfamily basename}    \\\cline{1-4}
{\ttfamily max\+Length}   &{\ttfamily boolean}   &{\ttfamily 65536}   &Limit the max length of the input string. An error is thrown if the input string is longer than this value.    \\\cline{1-4}
{\ttfamily nobrace}   &{\ttfamily boolean}   &{\ttfamily false}   &Disable brace matching, so that {\ttfamily \{a,b\}} and {\ttfamily \{1..3\}} would be treated as literal characters.    \\\cline{1-4}
{\ttfamily nobracket}   &{\ttfamily boolean}   &{\ttfamily undefined}   &Disable matching with regex brackets.    \\\cline{1-4}
{\ttfamily nocase}   &{\ttfamily boolean}   &{\ttfamily false}   &Perform case-\/insensitive matching. Equivalent to the regex {\ttfamily i} flag. Note that this option is ignored when the {\ttfamily flags} option is defined.    \\\cline{1-4}
{\ttfamily nodupes}   &{\ttfamily boolean}   &{\ttfamily true}   &Deprecated, use {\ttfamily nounique} instead. This option will be removed in a future major release. By default duplicates are removed. Disable uniquification by setting this option to false.    \\\cline{1-4}
{\ttfamily noext}   &{\ttfamily boolean}   &{\ttfamily false}   &Alias for {\ttfamily noextglob}    \\\cline{1-4}
{\ttfamily noextglob}   &{\ttfamily boolean}   &{\ttfamily false}   &Disable support for matching with \href{\#extglobs}{\texttt{ extglobs}} (like {\ttfamily +(a\textbackslash{}$\vert$b)})    \\\cline{1-4}
{\ttfamily noglobstar}   &{\ttfamily boolean}   &{\ttfamily false}   &Disable support for matching nested directories with globstars ({\ttfamily $\ast$$\ast$})    \\\cline{1-4}
{\ttfamily nonegate}   &{\ttfamily boolean}   &{\ttfamily false}   &Disable support for negating with leading {\ttfamily !}    \\\cline{1-4}
{\ttfamily noquantifiers}   &{\ttfamily boolean}   &{\ttfamily false}   &Disable support for regex quantifiers (like {\ttfamily a\{1,2\}}) and treat them as brace patterns to be expanded.    \\\cline{1-4}
\href{\#optionsonIgnore}{\texttt{ on\+Ignore}}   &{\ttfamily function}   &{\ttfamily undefined}   &Function to be called on ignored items.    \\\cline{1-4}
\href{\#optionsonMatch}{\texttt{ on\+Match}}   &{\ttfamily function}   &{\ttfamily undefined}   &Function to be called on matched items.    \\\cline{1-4}
\href{\#optionsonResult}{\texttt{ on\+Result}}   &{\ttfamily function}   &{\ttfamily undefined}   &Function to be called on all items, regardless of whether or not they are matched or ignored.    \\\cline{1-4}
{\ttfamily posix}   &{\ttfamily boolean}   &{\ttfamily false}   &Support \href{\#posix-bracket-expressions}{\texttt{ POSIX character classes}} (\char`\"{}posix brackets\char`\"{}).    \\\cline{1-4}
{\ttfamily posix\+Slashes}   &{\ttfamily boolean}   &{\ttfamily undefined}   &Convert all slashes in file paths to forward slashes. This does not convert slashes in the glob pattern itself    \\\cline{1-4}
{\ttfamily prepend}   &{\ttfamily boolean}   &{\ttfamily undefined}   &String to prepend to the generated regex used for matching.    \\\cline{1-4}
{\ttfamily regex}   &{\ttfamily boolean}   &{\ttfamily false}   &Use regular expression rules for {\ttfamily +} (instead of matching literal {\ttfamily +}), and for stars that follow closing parentheses or brackets (as in {\ttfamily )$\ast$} and {\ttfamily \mbox{]}$\ast$}).    \\\cline{1-4}
{\ttfamily strict\+Brackets}   &{\ttfamily boolean}   &{\ttfamily undefined}   &Throw an error if brackets, braces, or parens are imbalanced.    \\\cline{1-4}
{\ttfamily strict\+Slashes}   &{\ttfamily boolean}   &{\ttfamily undefined}   &When true, picomatch won\textquotesingle{}t match trailing slashes with single stars.    \\\cline{1-4}
{\ttfamily unescape}   &{\ttfamily boolean}   &{\ttfamily undefined}   &Remove preceding backslashes from escaped glob characters before creating the regular expression to perform matches.    \\\cline{1-4}
{\ttfamily unixify}   &{\ttfamily boolean}   &{\ttfamily undefined}   &Alias for {\ttfamily posix\+Slashes}, for backwards compatitibility.   \\\cline{1-4}
\end{longtabu}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17189}{}\doxysection{Options Examples}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17189}
{\itshape  }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17190}{}\doxysubsection{options.\+basename}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17190}
{\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{micromatch(['a/b.js', 'a/c.md'], '*.js');}
\DoxyCodeLine{//=> []}
\DoxyCodeLine{}
\DoxyCodeLine{micromatch(['a/b.js', 'a/c.md'], '*.js', \{ basename: true \});}
\DoxyCodeLine{//=> ['a/b.js'] }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17191}{}\doxysubsection{options.\+bash}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17191}
{\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 any other star.}

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

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

{\itshape {\bfseries{Example}}}

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

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17192}{}\doxysubsection{options.\+expand\+Range}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17192}
{\itshape  {\bfseries{Type}}\+: {\ttfamily function}}

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

{\itshape Custom function for expanding ranges in brace patterns. The \href{https://github.com/jonschlinkert/fill-range}{\texttt{ fill-\/range}} library is ideal for this purpose, or you can use custom code to do whatever you need.}

{\itshape {\bfseries{Example}}}

{\itshape The following example shows how to create a glob that matches a numeric folder name between {\ttfamily 01} and {\ttfamily 25}, with leading zeros.}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{const fill = require('fill-\/range');}
\DoxyCodeLine{const regex = micromatch.makeRe('foo/\{01..25\}/bar', \{}
\DoxyCodeLine{  expandRange(a, b) \{}
\DoxyCodeLine{    return `(\$\{fill(a, b, \{ toRegex: true \})\})`;}
\DoxyCodeLine{  \}}
\DoxyCodeLine{\});}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(regex)}
\DoxyCodeLine{//=> /\string^(?:foo\(\backslash\)/((?:0[1-\/9]|1[0-\/9]|2[0-\/5]))\(\backslash\)/bar)\$/}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(regex.test('foo/00/bar')) // false}
\DoxyCodeLine{console.log(regex.test('foo/01/bar')) // true}
\DoxyCodeLine{console.log(regex.test('foo/10/bar')) // true}
\DoxyCodeLine{console.log(regex.test('foo/22/bar')) // true}
\DoxyCodeLine{console.log(regex.test('foo/25/bar')) // true}
\DoxyCodeLine{console.log(regex.test('foo/26/bar')) // false }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17193}{}\doxysubsection{options.\+format}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17193}
{\itshape  {\bfseries{Type}}\+: {\ttfamily function}}

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

{\itshape Custom function for formatting strings before they\textquotesingle{}re matched.}

{\itshape {\bfseries{Example}}}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{// strip leading './' from strings}
\DoxyCodeLine{const format = str => str.replace(/\string^\(\backslash\).\(\backslash\)//, '');}
\DoxyCodeLine{const isMatch = picomatch('foo/*.js', \{ format \});}
\DoxyCodeLine{console.log(isMatch('./foo/bar.js')) //=> true }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17194}{}\doxysubsection{options.\+ignore}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17194}
{\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 
\begin{DoxyCode}{0}
\DoxyCodeLine{const isMatch = micromatch.matcher('*', \{ ignore: 'f*' \});}
\DoxyCodeLine{console.log(isMatch('foo')) //=> false}
\DoxyCodeLine{console.log(isMatch('bar')) //=> true}
\DoxyCodeLine{console.log(isMatch('baz')) //=> true }

\end{DoxyCode}
}

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

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17196}{}\doxysubsection{options.\+noextglob}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17196}
{\itshape  Disable extglob support, so that \href{\#extglobs}{\texttt{ extglobs}} are regarded as literal characters.}

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

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

{\itshape {\bfseries{Examples}}}

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

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17197}{}\doxysubsection{options.\+nonegate}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17197}
{\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_micromatch_README_autotoc_md17198}{}\doxysubsection{options.\+noglobstar}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17198}
{\itshape  Disable matching with globstars ({\ttfamily $\ast$$\ast$}).}

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

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

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

\end{DoxyCode}
}

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

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17200}{}\doxysubsection{options.\+nullglob}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17200}
{\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_micromatch_README_autotoc_md17201}{}\doxysubsection{options.\+on\+Ignore}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17201}
{\itshape  
\begin{DoxyCode}{0}
\DoxyCodeLine{const onIgnore = (\{ glob, regex, input, output \}) => \{}
\DoxyCodeLine{  console.log(\{ glob, regex, input, output \});}
\DoxyCodeLine{  // \{ glob: '*', regex: /\string^(?:(?!\(\backslash\).)(?=.)[\string^\(\backslash\)/]*?\(\backslash\)/?)\$/, input: 'foo', output: 'foo' \}}
\DoxyCodeLine{\};}
\DoxyCodeLine{}
\DoxyCodeLine{const isMatch = micromatch.matcher('*', \{ onIgnore, ignore: 'f*' \});}
\DoxyCodeLine{isMatch('foo');}
\DoxyCodeLine{isMatch('bar');}
\DoxyCodeLine{isMatch('baz'); }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17202}{}\doxysubsection{options.\+on\+Match}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17202}
{\itshape  
\begin{DoxyCode}{0}
\DoxyCodeLine{const onMatch = (\{ glob, regex, input, output \}) => \{}
\DoxyCodeLine{  console.log(\{ input, output \});}
\DoxyCodeLine{  // \{ input: 'some\(\backslash\)\(\backslash\)path', output: 'some/path' \}}
\DoxyCodeLine{  // \{ input: 'some\(\backslash\)\(\backslash\)path', output: 'some/path' \}}
\DoxyCodeLine{  // \{ input: 'some\(\backslash\)\(\backslash\)path', output: 'some/path' \}}
\DoxyCodeLine{\};}
\DoxyCodeLine{}
\DoxyCodeLine{const isMatch = micromatch.matcher('**', \{ onMatch, posixSlashes: true \});}
\DoxyCodeLine{isMatch('some\(\backslash\)\(\backslash\)path');}
\DoxyCodeLine{isMatch('some\(\backslash\)\(\backslash\)path');}
\DoxyCodeLine{isMatch('some\(\backslash\)\(\backslash\)path'); }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17203}{}\doxysubsection{options.\+on\+Result}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17203}
{\itshape  
\begin{DoxyCode}{0}
\DoxyCodeLine{const onResult = (\{ glob, regex, input, output \}) => \{}
\DoxyCodeLine{  console.log(\{ glob, regex, input, output \});}
\DoxyCodeLine{\};}
\DoxyCodeLine{}
\DoxyCodeLine{const isMatch = micromatch('*', \{ onResult, ignore: 'f*' \});}
\DoxyCodeLine{isMatch('foo');}
\DoxyCodeLine{isMatch('bar');}
\DoxyCodeLine{isMatch('baz'); }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17204}{}\doxysubsection{options.\+posix\+Slashes}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17204}
{\itshape  Convert path separators on returned files to posix/unix-\/style forward slashes. Aliased as {\ttfamily unixify} for backwards compatibility.}

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

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

{\itshape {\bfseries{Example}}}

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

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17205}{}\doxysubsection{options.\+unescape}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17205}
{\itshape  Remove backslashes from escaped glob characters before creating the regular expression to perform 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{console.log(micromatch.match(['abc', 'a\(\backslash\)\(\backslash\)*c'], 'a\(\backslash\)\(\backslash\)*c'));}
\DoxyCodeLine{//=> ['a\(\backslash\)\(\backslash\)*c']}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(micromatch.match(['abc', 'a\(\backslash\)\(\backslash\)*c'], 'a\(\backslash\)\(\backslash\)*c', \{ unescape: true \}));}
\DoxyCodeLine{//=> ['a*c'] }

\end{DoxyCode}
}

{\itshape ~\newline
 ~\newline
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17206}{}\doxysection{Extended globbing}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17206}
{\itshape  Micromatch supports the following extended globbing features.}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17207}{}\doxysubsection{Extglobs}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17207}
{\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 regex character.}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17208}{}\doxysubsection{Braces}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17208}
{\itshape  Brace patterns can be used to match specific ranges or sets of characters.}

{\itshape {\bfseries{Example}}}

{\itshape The pattern {\ttfamily \{f,b\}$\ast$/\{1..3\}/\{b,q\}$\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_micromatch_README_autotoc_md17209}{}\doxysubsection{Regex character classes}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17209}
{\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_micromatch_README_autotoc_md17210}{}\doxysubsection{Regex groups}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17210}
{\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_micromatch_README_autotoc_md17211}{}\doxysubsection{POSIX bracket expressions}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17211}
{\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{console.log(micromatch.isMatch('a1', '[[:alpha:][:digit:]]')) //=> true}
\DoxyCodeLine{console.log(micromatch.isMatch('a1', '[[:alpha:][:alpha:]]')) //=> false }

\end{DoxyCode}
}

{\itshape \DoxyHorRuler{0}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17212}{}\doxysection{Notes}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17212}
{\itshape  }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17213}{}\doxysubsection{Bash 4.\+3 parity}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17213}
{\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_micromatch_README_autotoc_md17214}{}\doxysubsection{Backslashes}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17214}
{\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, which is consistent with bash behavior. {\itshape More importantly, unescaping globs can result in unsafe regular expressions}.
\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 To solve this, you might be inspired to do something like `\textquotesingle{}foo\textbackslash{}$\ast$'.replace(/\textbackslash{}/g, \textquotesingle{}/\textquotesingle{})\`{}, but this causes another, potentially much more serious, problem.}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17215}{}\doxysection{Benchmarks}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17215}
{\itshape  }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17216}{}\doxysubsection{Running benchmarks}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17216}
{\itshape  Install dependencies for running benchmarks\+:}

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

\end{DoxyCode}
}

{\itshape Run the benchmarks\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm run bench }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17217}{}\doxysubsection{Latest results}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17217}
{\itshape  As of April 10, 2019 (longer bars are better)\+:}

{\itshape 
\begin{DoxyCode}{0}
\DoxyCodeLine{\# .makeRe star}
\DoxyCodeLine{  micromatch x 1,724,735 ops/sec ±1.69\% (87 runs sampled))}
\DoxyCodeLine{  minimatch x 649,565 ops/sec ±1.93\% (91 runs sampled)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe star; dot=true}
\DoxyCodeLine{  micromatch x 1,302,127 ops/sec ±1.43\% (92 runs sampled)}
\DoxyCodeLine{  minimatch x 556,242 ops/sec ±0.71\% (86 runs sampled)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe globstar}
\DoxyCodeLine{  micromatch x 1,393,992 ops/sec ±0.71\% (89 runs sampled)}
\DoxyCodeLine{  minimatch x 1,112,801 ops/sec ±2.02\% (91 runs sampled)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe globstars}
\DoxyCodeLine{  micromatch x 1,419,097 ops/sec ±0.34\% (94 runs sampled)}
\DoxyCodeLine{  minimatch x 541,207 ops/sec ±1.66\% (93 runs sampled)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe with leading star}
\DoxyCodeLine{  micromatch x 1,247,825 ops/sec ±0.97\% (94 runs sampled)}
\DoxyCodeLine{  minimatch x 489,660 ops/sec ±0.63\% (94 runs sampled)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe -\/ braces}
\DoxyCodeLine{  micromatch x 206,301 ops/sec ±1.62\% (81 runs sampled))}
\DoxyCodeLine{  minimatch x 115,986 ops/sec ±0.59\% (94 runs sampled)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe braces -\/ range (expanded)}
\DoxyCodeLine{  micromatch x 27,782 ops/sec ±0.79\% (88 runs sampled)}
\DoxyCodeLine{  minimatch x 4,683 ops/sec ±1.20\% (92 runs sampled)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe braces -\/ range (compiled)}
\DoxyCodeLine{  micromatch x 134,056 ops/sec ±2.73\% (77 runs sampled))}
\DoxyCodeLine{  minimatch x 977 ops/sec ±0.85\% (91 runs sampled)d)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe braces -\/ nested ranges (expanded)}
\DoxyCodeLine{  micromatch x 18,353 ops/sec ±0.95\% (91 runs sampled)}
\DoxyCodeLine{  minimatch x 4,514 ops/sec ±1.04\% (93 runs sampled)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe braces -\/ nested ranges (compiled)}
\DoxyCodeLine{  micromatch x 38,916 ops/sec ±1.85\% (82 runs sampled)}
\DoxyCodeLine{  minimatch x 980 ops/sec ±0.54\% (93 runs sampled)d)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe braces -\/ set (compiled)}
\DoxyCodeLine{  micromatch x 141,088 ops/sec ±1.70\% (70 runs sampled))}
\DoxyCodeLine{  minimatch x 43,385 ops/sec ±0.87\% (93 runs sampled)}
\DoxyCodeLine{}
\DoxyCodeLine{\# .makeRe braces -\/ nested sets (compiled)}
\DoxyCodeLine{  micromatch x 87,272 ops/sec ±2.85\% (71 runs sampled))}
\DoxyCodeLine{  minimatch x 25,327 ops/sec ±1.59\% (86 runs sampled) }

\end{DoxyCode}
}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17218}{}\doxysection{Contributing}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17218}
{\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_micromatch_README_autotoc_md17219}{}\doxysection{About}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17219}
{\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_micromatch_README_autotoc_md17220}{}\doxysubsection{Related projects}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17220}
{\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/micromatch/expand-brackets}{\texttt{ https\+://github.\+com/micromatch/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_micromatch_README_autotoc_md17221}{}\doxysubsection{Contributors}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17221}
{\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
475   &\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/Tvrqvoise}{\texttt{ Tvrqvoise}}    \\\cline{1-2}
2   &\href{https://github.com/tunnckoCore}{\texttt{ tunncko\+Core}}    \\\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}
1   &\href{https://github.com/simlu}{\texttt{ simlu}}    \\\cline{1-2}
1   &\href{https://github.com/wtgtybhertgeghgtwtg}{\texttt{ wtgtybhertgeghgtwtg}}   \\\cline{1-2}
\end{longtabu}
}

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

{\itshape 
\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert}{\texttt{ Git\+Hub Profile}}
\item \href{https://twitter.com/jonschlinkert}{\texttt{ Twitter Profile}}
\item \href{https://linkedin.com/in/jonschlinkert}{\texttt{ Linked\+In Profile}}
\end{DoxyItemize}}

{\itshape }\hypertarget{md_sfcode_node_modules_micromatch_README_autotoc_md17223}{}\doxysubsection{License}\label{md_sfcode_node_modules_micromatch_README_autotoc_md17223}
{\itshape  Copyright © 2019, \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.\+8.\+0, on April 10, 2019.} }