Fix regex for special rule