in reply to Inspect the members of a Posix Character Class

> But what if you want to reverse that?

What does that mean? Could you give an example?

At best an Short, Self-Contained, Correct Example ...

edit

did you check perlrecharclass and do you expect also to get a list of characters from the shown intersection operations?

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

  • Comment on Re: Inspect the members of a Posix Character Class

Replies are listed 'Best First'.
Re^2: Inspect the members of a Posix Character Class
by NERDVANA (Pilgrim) on Jul 29, 2021 at 13:11 UTC
    Added an example for you. (which actually runs a lot faster than I expected, but is still very inefficient) And I don't really need intersections. perlrecharclass doesn't seem to mention any API for querying perls internal tables.