Fix for ruby 1.9.3

Change .match to =~ as suggested by @cupakromer in https://github.com/alexrothenberg/ammeter/commit/5e7ec3516c89713603e83b82ed71b4f1df06e089#commitcomment-5770325