Created
July 21, 2017 00:20
-
-
Save nobleach/227278fcec8946df8e95482469a3f8b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var critical = /(?!\.critical).*\.less$/; | |
// matches | |
Title.critical.less | |
// but not | |
Toast.less | |
App.less | |
var nonCritical = /^((?!critical).)*\.less$/gm; | |
// matches | |
Toast.less | |
App.less | |
// but not | |
Title.critical.less |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment