develooper Front page | perl.perl6.language.regex | Postings from August 2000

Re: RFC 165 (v1) Allow Varibles in tr///

Thread Next
From:
Tom Christiansen
Date:
August 30, 2000 14:51
Subject:
Re: RFC 165 (v1) Allow Varibles in tr///
Message ID:
17048.967672271@chthon
>For the record, the UTF8 version of tr/// does not use a plain 256K
>table.  It uses a data strcuture called a 'swash'; this is also the
>data structure that is used by the UTF8 versions of 'uc' etc., the
>\p{...} regex escapes, and the others.  The swash is based on a hash,
>and the code is in utf8.c.

And is connected to a "swatch":

/usr/local/src/perl/utf8.c:/* a "swash" is a swatch hash */

--tom

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About