add :Eof to replace the :$ rule,which will raise error when there are \newline after an matched :TerminalEndline
add process para