array('tablePrefix, tableName, modelPath','match','pattern'=>'/^(\w+[\w\.]*|\*?|\w+\.\*)$/','message'=>'{attribute} should only contain word characters, dots, and an optional ending asterisk.'),
array('db, modelClass','match','pattern'=>'/^\w+$/','message'=>'Only word characters are allowed.'),
array('ns, baseClass','match','pattern'=>'/^[\w\\\\]+$/','message'=>'Only word characters and backslashes are allowed.'),
array('tableName','match','pattern'=>'/^(\w+\.)?[\w\.\*]+$/','message'=>'Only word characters, asterisks and dot are allowed.'),
array('db','validateDb'),
array('ns','validateNamespace'),
array('tableName','validateTableName'),
array('tableName','validateTableName'),
array('tablePrefix, modelClass','match','pattern'=>'/^[a-zA-Z_]\w*$/','message'=>'{attribute} should only contain word characters.'),
array('modelClass','validateModelClass'),
array('baseClass','match','pattern'=>'/^[a-zA-Z_][\w\\\\]*$/','message'=>'{attribute} should only contain word characters and backslashes.'),