On Wed, 13 Jun 2001 13:39:16 -0400, Dan Sugalski wrote: >> > Something that should be part of the core? I'll leave >> >that for you to decide. >> >>Most definitely NOT. > >Most definitely sort of. > >>There is no reason to put fucntionality for free matching of Japanese >>characters into the basic perl executable. > >No, you're right. But the core must take into account the capabilities that >need to be available for comparison and matching of the languages perl's >going to make at least some effort to support. If you're saying that the perl core shsould include hooks into the regex engine for custom character classes, I agree. But nothing more. Currently, Perl5 provides a hook for "use locale;", but I wish there was something more general than this, more customizable. For example, I sometimes have user defined character encodings, that don't follow any standard. I wish there was a simple, perl-only, way to cope with them. Also, for example, I would like be able to match "รก" with /[a]/, but without changing the sort order. "locale" is a bit too much "all or nothing" for me. -- Bart.Thread Previous | Thread Next