Ticket #1868: mcedit hang up on replace with regexp.