Parse multiple style codes

fix missing g regex option