\begin{quote}
POSIX character classes for creating regular expressions. \end{quote}
\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20516}{}\doxysection{Install}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20516}
Install with \href{https://www.npmjs.com/}{\texttt{ npm}}\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save posix-\/character-\/classes }

\end{DoxyCode}


Install with \href{https://yarnpkg.com}{\texttt{ yarn}}\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ yarn add posix-\/character-\/classes }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20517}{}\doxysection{Usage}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20517}

\begin{DoxyCode}{0}
\DoxyCodeLine{var posix = require('posix-\/character-\/classes');}
\DoxyCodeLine{console.log(posix.alpha);}
\DoxyCodeLine{//=> 'A-\/Za-\/z' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20518}{}\doxysection{POSIX Character classes}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20518}
The POSIX standard supports the following classes or categories of charactersh (note that classes must be defined within brackets)\textsuperscript{\href{\#fn1}{\texttt{ \mbox{[}1\mbox{]}}}}\+:

\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{3}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{POSIX class}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Equivalent to}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Matches}}    }\\\cline{1-3}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{POSIX class}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Equivalent to}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Matches}}    }\\\cline{1-3}
\endhead
{\ttfamily \mbox{[}\+:alnum\+:\mbox{]}}   &{\ttfamily \mbox{[}A-\/\+Za-\/z0-\/9\mbox{]}}   &digits, uppercase and lowercase letters    \\\cline{1-3}
{\ttfamily \mbox{[}\+:alpha\+:\mbox{]}}   &{\ttfamily \mbox{[}A-\/\+Za-\/z\mbox{]}}   &upper-\/ and lowercase letters    \\\cline{1-3}
{\ttfamily \mbox{[}\+:ascii\+:\mbox{]}}   &{\ttfamily \mbox{[}\textbackslash{}x00-\/\textbackslash{}x7F\mbox{]}}   &ASCII characters    \\\cline{1-3}
{\ttfamily \mbox{[}\+:blank\+:\mbox{]}}   &{\ttfamily \mbox{[} \textbackslash{}t\mbox{]}}   &space and TAB characters only    \\\cline{1-3}
{\ttfamily \mbox{[}\+:cntrl\+:\mbox{]}}   &{\ttfamily \mbox{[}\textbackslash{}x00-\/\textbackslash{}x1F\textbackslash{}x7F\mbox{]}}   &Control characters    \\\cline{1-3}
{\ttfamily \mbox{[}\+:digit\+:\mbox{]}}   &{\ttfamily \mbox{[}0-\/9\mbox{]}}   &digits    \\\cline{1-3}
{\ttfamily \mbox{[}\+:graph\+:\mbox{]}}   &{\ttfamily \mbox{[}$^\wedge$\mbox{[}\+:cntrl\+:\mbox{]}\mbox{]}}   &graphic characters (all characters which have graphic representation)    \\\cline{1-3}
{\ttfamily \mbox{[}\+:lower\+:\mbox{]}}   &{\ttfamily \mbox{[}a-\/z\mbox{]}}   &lowercase letters    \\\cline{1-3}
{\ttfamily \mbox{[}\+:print\+:\mbox{]}}   &{\ttfamily \mbox{[}\mbox{[}\+:graph\mbox{]} \mbox{]}}   &graphic characters and space   \\\cline{1-3}
\end{longtabu}
$\vert$ {\ttfamily \mbox{[}\+:punct\+:\mbox{]}} $\vert$ {\ttfamily \mbox{[}-\/!"{}\#\$\%\&\textquotesingle{}()$\ast$+,./\+:;$<$=$>$?@\mbox{[}\mbox{]}$^\wedge$\+\_\+\`{}\{ $\vert$ \}$\sim$\mbox{]}} $\vert$ all punctuation characters (all graphic characters except letters and digits) $\vert$ $\vert$ {\ttfamily \mbox{[}\+:space\+:\mbox{]}} $\vert$ {\ttfamily \mbox{[} \textbackslash{}t\textbackslash{}n\textbackslash{}r\textbackslash{}f\textbackslash{}v\mbox{]}} $\vert$ all blank (whitespace) characters, including spaces, tabs, new lines, carriage returns, form feeds, and vertical tabs $\vert$ $\vert$ {\ttfamily \mbox{[}\+:upper\+:\mbox{]}} $\vert$ {\ttfamily \mbox{[}A-\/Z\mbox{]}} $\vert$ uppercase letters $\vert$ $\vert$ {\ttfamily \mbox{[}\+:word\+:\mbox{]}} $\vert$ {\ttfamily \mbox{[}A-\/\+Za-\/z0-\/9\+\_\+\mbox{]}} $\vert$ word characters $\vert$ $\vert$ {\ttfamily \mbox{[}\+:xdigit\+:\mbox{]}} $\vert$ {\ttfamily \mbox{[}0-\/9A-\/\+Fa-\/f\mbox{]}} $\vert$ hexadecimal digits $\vert$\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20519}{}\doxysection{Examples}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20519}

\begin{DoxyItemize}
\item {\ttfamily a\mbox{[}\mbox{[}\+:digit\+:\mbox{]}\mbox{]}b} matches {\ttfamily a0b}, {\ttfamily a1b}, ..., {\ttfamily a9b}.
\item {\ttfamily a\mbox{[}\+:digit\+:\mbox{]}b} is invalid, character classes must be enclosed in brackets
\item {\ttfamily \mbox{[}\mbox{[}\+:digit\+:\mbox{]}abc\mbox{]}} matches any digit, as well as {\ttfamily a}, {\ttfamily b}, and {\ttfamily c}.
\item {\ttfamily \mbox{[}abc\mbox{[}\+:digit\+:\mbox{]}\mbox{]}} is the same as the previous, matching any digit, as well as {\ttfamily a}, {\ttfamily b}, and {\ttfamily c}
\item {\ttfamily \mbox{[}$^\wedge$\+ABZ\mbox{[}\+:lower\+:\mbox{]}\mbox{]}} matches any character except lowercase letters, {\ttfamily A}, {\ttfamily B}, and {\ttfamily Z}.
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20520}{}\doxysection{About}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20520}
\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20521}{}\doxysubsection{Contributing}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20521}
Pull requests and stars are always welcome. For bugs and feature requests, \href{../../issues/new}{\texttt{ please create an issue}}.\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20522}{}\doxysubsection{Building docs}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20522}
\+\_\+(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.)\+\_\+

To generate the readme, run the following command\+:


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

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20523}{}\doxysubsection{Running tests}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20523}
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\+:


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

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20524}{}\doxysubsection{Author}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20524}
{\bfseries{Jon Schlinkert}}


\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert}{\texttt{ github/jonschlinkert}}
\item \href{https://twitter.com/jonschlinkert}{\texttt{ twitter/jonschlinkert}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20525}{}\doxysubsection{License}\label{md_sfcode_node_modules_posix_character_classes_README_autotoc_md20525}
Copyright © 2017, \href{https://github.com/jonschlinkert}{\texttt{ Jon Schlinkert}}. Released under the \mbox{[}MIT License\mbox{]}(LICENSE).

\DoxyHorRuler{0}


{\itshape This file was generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb-\/generate-\/readme}}, v0.\+5.\+0, on April 20, 2017.}

\DoxyHorRuler{0}
 $<$section class=\char`\"{}footnotes\char`\"{}$>$ 
\begin{DoxyEnumerate}
\item table and examples are based on the Wiki\+Books page for \href{https://en.wikibooks.org/wiki/Regular_Expressions/POSIX_Basic_Regular_Expressions}{\texttt{ Regular Expressions/\+POSIX Basic Regular Expressions}}, which is available under the \href{https://creativecommons.org/licenses/by-sa/3.0/}{\texttt{ Creative Commons Attribution-\/\+Share\+Alike License}}. \href{\#fnref1}{\texttt{ ↩}}


\end{DoxyEnumerate}$<$/section$>$ 