I don't think it's a good idea to use a regexp for that purpose as it's time-consuming and it should be processed twice (true and false).
`include?` better fits this needs IMO