Ruby Check If String Contains A Pattern