allow \U and \L on \0 as well
improved insert from register