can handle userinput element and replaceable element in programlisting element