public function test_Index_Complex() { $tokens = (new JSONPathLexer('["\'b.^*_"]'))->parseExpression(); $this->assertEquals(JSONPathToken::T_INDEX, $tokens[0]->type); $this->assertEquals("'b.^*_", $tokens[0]->value); }