other linked perldocs in that doc are much more specific what each char-class includes, but I didn't want to go into details. See https://perldoc.perl.org/perluniprops#Properties-accessible-through-%5Cp%7B%7D-and-%5CP%7B%7D for instance.

If your requirements are really so general, my best idea is to cache the filtering - like choroba already suggested in the meantime.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery


In reply to Re^3: Inspect the members of a Posix Character Class by LanX
in thread Inspect the members of a Posix Character Class by NERDVANA

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":