[TxMt] Matching multiple lines in a grammar pattern