Permalink
Browse files

Fixed broken regex snippet

Signed-off-by: Niels van Hoorn <nvh@nvh.io>
  • Loading branch information...
nvh committed Sep 14, 2016
1 parent 07040f2 commit 8c0992e5cd864af5dbae89eb0ed06f80f5687874
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Color.coffee
View
@@ -529,7 +529,7 @@ pad2 = (char) ->
# Matchers
matchers = do ->
- css_integer = "[-\\+]?\\d +%?"
+ css_integer = "[-\\+]?\\d+%?"
css_number = "[-\\+]?\\d*\\.\\d+%?"
css_unit = "(?:" + css_number + ")|(?:" + css_integer + ")"

0 comments on commit 8c0992e

Please sign in to comment.