Check if LANG exists before running String#substring on it
Fixed regexp
Fixed url in README