dear all, I'm making some string replacements with Unicode::Collate which generally works fine but for whitespace. I have the following simple code (adopted from the module documentation):
my $myCollator = Unicode::Collate->new( normalization => undef, level => 1 ); my $str = "Camel donkey zebra came\x{301}l CAMEL horse cAm\0E\0L..."; $myCollator->gsubst($str, "camel horse", sub { "<b>$_[0]</b>" }); print $q->p($str); this doesn't find the search string "camel horse" - if I search for "camel" the desired replacemts work. How can I get this working with whitespace in the search string? Thanks for any hints, Frank -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/