adjust class_regex