Skip to content

Instantly share code, notes, and snippets.

@vlad-shatskyi

vlad-shatskyi/gist:4948332

Last active Dec 13, 2015
Embed
What would you like to do?
File.foreach( "dictionary.txt" ) do |line|
md = line.match(/\A([A-Z]+)/)
puts md[0] if md
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment