fix regex formatting