Properly consider ex range in :s command.