use .test instead of .match

http://stackoverflow.com/questions/10940137/regex-test-v-s-string-match-to-know-if-a-string-matches-a-regular-expression

に書いてる通り、

> So, to conclude the answer, if you only want a boolean answer use .test instead of .match