diff --git a/Indentation Rules.tmPreferences b/Indentation Rules.tmPreferences
index da64f2e..5922b59 100644
--- a/Indentation Rules.tmPreferences
+++ b/Indentation Rules.tmPreferences
@@ -10,14 +10,16 @@
^\s*(\}|\]|else|catch|finally|else\s+if\s+\S.*)$
increaseIndentPattern
(?x)
- ^\s*
- (.*class
- |[a-zA-Z\$_](\w|\$|:|\.)*\s*(?=\:(\s*\(.*\))?\s*((=|-)>\s*$)) # function that is not one line
- |[a-zA-Z\$_](\w|\$|\.)*\s*(:|=)\s*((if|while)(?!.*?then)|for|$) # assignment using multiline if/while/for
- |(if|while|unless)\b(?!.*?then)|(for|switch|when|loop)\b
- |(else|try|finally|catch\s+\S.*|else\s+if\s+\S.*)\s*$
- |.*[-=]>$
- |.*[\{\[]$)
+ ^\s*
+ ( class\b
+ | [a-zA-Z\$_](\w|\$|:|\.)*\s*(?=\:(\s*\(.*\))?\s*((=|-)>\s*$)) # function that is not one line
+ | [a-zA-Z\$_](\w|\$|\.)*\s*(:|=)\s*((if|while)(?!.*?then)|for|$) # assignment using multiline if/while/for
+ | (if|while|unless)\b(?!.*?then)|(for|switch|when|loop)\b
+ | (else|try|finally|catch\s+\S.*|else\s+if\s+\S.*)\s*$
+ | .*[-=]>$
+ | .*[\{\[]$
+ )
+