belief_action :BELIEFTRIGGER literal;literal :( AT | STRONGNEGATION )?ATOMtermlist?;BELIEFTRIGGER :PLUS| MINUS;STRONGNEGATION : '~' | 'not';ATOM :LOWERCASELETTER( LOWERCASELETTER | UPPERCASELETTER | DIGIT | SLASH | MINUS | UNDERSCORE )*;UNDERSCORE : '_';SLASH : '/';fragment PLUS : '+';fragment MINUS : '-';fragment LOWERCASELETTER : [a-z];fragment UPPERCASELETTER : [A-Z];fragment DIGIT : [0-9];
Within the belief_action rule the terminal node BELIEFTRIGGER will not recognize e.g. on an input "+foo" the + signis not matched. How can I fix this correctly?The full grammar can be found underhttps://github.com/LightJason/AgentSpeak/blob/feature/expression/src/main/antlr4/org/lightjason/agentspeak/grammar/Agent.g4https://github.com/LightJason/AgentSpeak/tree/feature/expression/src/main/antlr4/importsThanks a lotPhil