Home > @fullhuman/postcss-purgecss > StringRegExpArray
StringRegExpArray type
Strings and regular expressions an option is matched against. A string matches a value exactly, except a string written between slashes, like "/^btn-/" or "/^btn-/i", which is parsed as a regular expression. This form lets configuration files that cannot contain regular expressions, such as postcss.config.json, use patterns.
Signature:
export type StringRegExpArray = Array<RegExp | string>;
