fix regex syntax error