fix typo in ingore_class_regexp
diff --git a/reclass/core.py b/reclass/core.py
index c93ab14..e7c1551 100644
--- a/reclass/core.py
+++ b/reclass/core.py
@@ -25,7 +25,7 @@
         self._ignore_class_notfound = ignore_class_notfound
         self._input_data = input_data
 
-        if type(self._ignore_class_regexp) == type(''):
+        if type(ignore_class_regexp) == type(''):
           self._ignore_class_regexp = [ignore_class_regexp]
         else:
           self._ignore_class_regexp = ignore_class_regexp