Fix regex pattern