In (syntax) version 8 and later, a period (.), left bracket ([), right bracket (]), or digit may appear after a dollar sign ($), and both will be taken as literal characters, not an illegal variable reference. This is to facilitate JSON code, e.g. <sql "select Json.$.info.type from test">.