Fix regex for render line