'bob' ^~ /^bobby/ = true 'bob' ^~ /^fred/ = false 'bob' ^~ /^bo*[a-z]./ = true 'bob' ^~ /^ch*/ = false #### /foo/ = /.*foo.*/ therefore: 'bob' ^~ /foo/ = true