I have the following production in my ANTLR grammar: rich_newick_string : str=(.*';') { stack.pushRichNewickString($str.text); }; I expected some string match to be passed to my pushRichNewickString method, but instead I'm getting null. What am I doing wrong? Thanks.