adjust class_regex
for regexp, we need 3 backslashes
Merge pull request #1681 from dbu/patch-1

adjust class_regex