Whitelist patterns
kaisermann opened this issue · comments
Christian Kaisermann commented
I think purifycss could benefit from using regexes instead of glob strings on the whitelist parameter.
Something like uncss do:
[
"/h\\d/",
"/expanded/",
"/js/",
"/wp-/",
"/is-/",
"/align(?!\\W)/",
"/admin-bar/"
]