replace nltk.regexp_tokenize with stdlib equivalent