On Tue, Aug 07, 2001 at 05:37:00PM +0530, Ashutosh Salgarkar wrote:
> Hi all,
>
> We are trying to search japanese keyword using a search string(in perl using pattern
>matching).
> We are facing problem while searching a particular keyword as given below,
> $searchStr =~ m/$key1/i
>
> when $key1 contains シリーズ
> We get an error as follows
>
> /シリーズ/: unmatched [] in regexp
What version of Perl are you using? (perl -v)
Also, (since I know very little about Japanese) in what Japanese
encoding that is, and exactly what code points (0xAA + 0xBB + ...)
are you using? (I see some bytes in my email reader but since this is
a plain ISO Latin 8-bit terminal program, I have no idea whether those
bytes are okay.)
> Please suggest the solution to overcome the problem.
>
> Thanks,
>
> Ashutosh.
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen