Ah, `Regexp#match` doesn't work here, since there might not be match. On the other hand, `String#scan` does, since it returns `[]` if there is no match.