--- rxvt-unicode/src/perl/searchable-scrollback 2006/01/12 11:15:06 1.18 +++ rxvt-unicode/src/perl/searchable-scrollback 2006/01/12 11:16:36 1.19 @@ -147,7 +147,7 @@ substr $self->{search}, -1, 1, ""; $self->search; $self->idle; - } elsif ($string =~ /^[^\x00-\x1f\x80-\xaf]+$/) { + } elsif ($string !~ /[\x00-\x1f\x80-\xaf]/) { return; # pass to tt_write }