Skip to content

Instantly share code, notes, and snippets.

@JohannesFischer
Last active February 17, 2017 02:39
Show Gist options
  • Select an option

  • Save JohannesFischer/f910a0c7778c34f03f596a4b8a9d6c73 to your computer and use it in GitHub Desktop.

Select an option

Save JohannesFischer/f910a0c7778c34f03f596a4b8a9d6c73 to your computer and use it in GitHub Desktop.
RegEx I think I will use again
# CSS
# add missing semicolon to last property
([^;])$(\n})
$1;$2
# Shorten hex color values
#([\da-f])\1([\da-f])\2([\da-f])\3\b
#$1$2$3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment