in reply to Re^2: Benchmarking "Are all these characters in this sentence?"
in thread Benchmarking "Are all these characters in this sentence?"

You're checking whether only the wantedchars are used.

Not quite. It's supposed to be the other way round. The idea is to check whether $wantedchars only contains characters from $sentence.

  • Comment on Re^3: Benchmarking "Are all these characters in this sentence?"