http://www.perlmonks.org?node_id=828844


in reply to Re^2: What bytes are in character class \p{Pe} ClosePunctuation?
in thread What bytes are in character class \p{Pe} ClosePunctuation?

By looking at the first entry in Ll.pl, which is 0061    007A, I would guess it's a range.

--
 David Serrano
 (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling error. Thank you!).

Replies are listed 'Best First'.
Re^4: What bytes are in character class \p{Pe} ClosePunctuation?
by almut (Canon) on Mar 16, 2010 at 08:29 UTC
    I would guess it's a range

    ...which is also confirmed by this piece of code from mktables (which creates those tables):

    sub Table::Write { ... for my $set (@$Table) { my $start = $set->[RANGE_START]; my $end = $set->[RANGE_END]; my $name = $set->[RANGE_NAME]; if ($start == $end) { push @OUT, sprintf "%04X\t\t%s\n", $start, $name; } else { push @OUT, sprintf "%04X\t%04X\t%s\n", $start, $end, $name +; } }