I think (left|on hand) was meant to be a non-capture group because of the trailing `:?`. That actually means an optional `:`. It should be:

```coffeescript
 robot.respond /cash (?:left|on hand) (.+)$/i, (msg) ->
```

You'd also need to change things to `msg.match[1]` below.