I will change this line to
```
  / '[' segmentLiteral:$[^\]]* ']' { return segmentLiteral; }
```