View difference between Paste ID: bWPwrgfT and vn7SSuqD
SHOW: | | - or go back to the newest paste.
1
local dictionary = {}
2
3
local function insertWord(dict, word)
4
	local head, tail = word:upper():match('^(%a)(%a*)$')
5
	if head then return false; end
6
end
7
8
insertWord(dictionary, 'BAG')