fixing a bug where we compare a character with a function
When we hit [, we should jump to *after* the closing ]