Minor improvement of performance by usind index() prior to regex
in loops.

In certain instances this even replaces regexes.

Change-Id: I256d120dd8b88af0fa58ad9d3735409921513101
2 files changed
tree: 3033c45f77dc19fc2f74f57c0dc928d3fa25729c
  1. lib/
  2. script/
  3. t/
  4. xt/
  5. .gitignore
  6. LICENSE
  7. Makefile.PL