Last active
February 17, 2017 02:39
-
-
Save JohannesFischer/f910a0c7778c34f03f596a4b8a9d6c73 to your computer and use it in GitHub Desktop.
RegEx I think I will use again
This file contains hidden or 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
| # 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