You can find the incorrect code here: http://chimera.labs.oreilly.com/books/1234000001642/apa.html#SOLUTION05-ET02 There's no use of Regex.match? in the code at all. However, the code in the git repo is correct: https://github.com/oreillymedia/etudes-for-elixir/blob/master/code/ch05-02/ask_area.ex The html page needs to updated to point to the latest/correct code.