Despite attempts to master grep and related GNU software, I haven\'t come close to mastering regular expressions. I do like them, but I find them a bit of an eyesore all the sam
if you do want to use a regular expression
result = [ w for w in vocab if re.search('^.{24}',w) ]
the {x} says match x characters. but it is probably better to use len(w)