gistlib
other ruby categories
isogram code snippets in ruby
for `word = "isogram" result = word.match(/(.)\1|\d/i) p !result` how to change so that hyphenated words are also processed? in ruby
give a regex-based isogram checker in ruby in ruby
this is a ruby isogram checker: `p !/(.).*\1|\d/i` where do i put the word that needs to be checked? in ruby
why can't `/(.).*\1|\d|[-\s]/i` detect that "thumbscrew-japingly" is an isogram? in ruby
without changing variable names, fix this program `def isogram?(词) p !词.match(/(.).*\1|\d/i) end so it can correctly identify 'six-year-old' and 'emily jung schwartzkopf' as isograms. in ruby
gistlib
by LogSnag