Resolve #213

- Add special case to deal with line numbers (which aren't followed
  by a dollar sign, i.e. '$')