regex repaired