Skip to content

Instantly share code, notes, and snippets.

@ziggear
Created May 4, 2013 12:59
Show Gist options
  • Save ziggear/5517443 to your computer and use it in GitHub Desktop.
Save ziggear/5517443 to your computer and use it in GitHub Desktop.
parse CSS
#1
'(.+?)\{([\s\S.]+?)\}'
#2
'([\n\r\t\s\S]*?)(([\t\n])[a-zA-Z-]+?):(.+);([\n\t\s\S]*?)'
#3
'([\s]*?)([-]*?)([0-9]+)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment