Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

What bytes are in character class \p{Pe} ClosePunctuation? I need the list for javascript regex not support \p notation.
  • Comment on What bytes are in character class \p{Pe} ClosePunctuation?

Replies are listed 'Best First'.
Re: What bytes are in character class \p{Pe} ClosePunctuation?
by almut (Canon) on Mar 16, 2010 at 08:00 UTC

    Look in .../unicore/lib/gc_sc/Pe.pl of your Perl distribution  (the exact path may vary slightly depending on Perl version).

      Thanks, that looks like what I want, but what is the format? Is 301E    301F a range, or two entries?
        The syntax of the format is described in the perlunicode manual page.

        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!).

Re: What bytes are in character class \p{Pe} ClosePunctuation?
by Anonymous Monk on Mar 16, 2010 at 13:42 UTC
Re: What bytes are in character class \p{Pe} ClosePunctuation?
by Anonymous Monk on Aug 07, 2010 at 10:56 UTC