fixed regexp flag