Created
March 18, 2015 00:41
-
-
Save KOBA789/da0c963d491700cc2422 to your computer and use it in GitHub Desktop.
CSS IDENT REGEXP
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 CSS_IDENT = /-?(?:[_a-z]|[\240-\377]|(?:(:?\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))(?:[_a-z0-9-]|[\240-\377]|(?:(:?\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))*/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you. 🙇