in reply to Matching simple patterns - is there a faster way?

You may find index to be a suitable alternative.

You can use Benchmark to see if this, or other alternatives, are faster.

-- Ken

  • Comment on Re: Matching simple patterns - is there a faster way?