Add StringScanner#[] to fix bug in parsing heredocs