Skip to content

Instantly share code, notes, and snippets.

@KOBA789
Created Mar 18, 2015
Embed
What would you like to do?
CSS IDENT REGEXP
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]))*/;
@lolmaus

This comment has been minimized.

Copy link

@lolmaus lolmaus commented Nov 25, 2017

Thank you. 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment