I had a couple problems running through the examples. Example #5, which is assigning matches to local variables, returns nil. The final example throws the following error:
Error: "modulo: expects type <integer> as 1st
argument, given: nil; other arguments were: 2"