Use search instead of match to search entire string, not just the beginning.

Clean up string slicing.
Merge pull request #64 from stopdropandrew/fix-librato-source-regex

Use search instead of match to search entire string, not just the beginn...