in reply to How can I use regex to copy each word of a string into a hash?

I'm really boring. I take bits of code for my repository; this looks useful for repeated word searching in a string*, by using a cache.

I'm off to write functionality (and benchmark) so the first search uses regex: subsequent searches the hash.

 

*Provided your only need to test for existence.

--
Brother Frankus.
  • Comment on How can I use "How can I use regex to copy each word of a string into a hash?"?