protected function lookAhead($pos, $forward = 1) { return isset($this->expression[$pos + $forward]) ? $this->expression[$pos + $forward] : null; }