diff --git a/lib/validator.js b/lib/validator.js
index <HASH>..<HASH> 100644
--- a/lib/validator.js
+++ b/lib/validator.js
@@ -30,6 +30,9 @@ var validators = {
     },
     isLowercase: function(str) {
         return str.match(/^[a-z0-9]+$/);
+    },
+    isUppercase: function(str) {
+        return str.match(/^[A-Z0-9]+$/);
     }
 };
 
@@ -133,7 +136,7 @@ Validator.prototype.isLowercase = function() {
 }
 
 Validator.prototype.isUppercase = function() {
-    if (!this.str.match(/^[A-Z0-9]+$/)) {
+    if (!validators.isUppercase(this.str)) {
        return this.error(this.msg || 'Invalid characters');
     }
     return this;
refactored isUppercase