postmodern/wordlist.rb

Refactor Wordlist::Parsers into a Lexer

postmodern opened this issue · 2 comments

Parsers should become a proper String Tokenizer. It should be capable of scrubbing input text of unwanted punctuation, then splitting the input text into individual words.

Use StringScanner instead of String#split.

Implemented in aadacf6.