diff --git a/lib/sass/engine.rb b/lib/sass/engine.rb
index 4aeec5aa..8dbdbcad 100644
--- a/lib/sass/engine.rb
+++ b/lib/sass/engine.rb
@@ -40,7 +40,7 @@ module Sass
DIRECTIVE_CHAR = ?@
# The regex that matches attributes of the form :name attr.
- ATTRIBUTE = /:([^\s=:]+)\s*(=?)(?:\s|$)+(.*)/
+ ATTRIBUTE = /:([^\s=:]+)\s*(=?)(?:\s+|$)(.*)/
# The regex that matches attributes of the form name: attr.
ALTERNATE_ATTRIBUTE_SELECTOR = /^[^\s:]+:(\s+|$)/