This commit is contained in:
Akira Yokochi 2021-02-01 13:16:21 +00:00 committed by GitHub
parent 9d71bbd13e
commit f72dec16ea

View file

@ -538,7 +538,7 @@ Parsing with TTP
TTP is a Python library for semi-structured text parsing using templates. TTP uses a jinja-like syntax to limit the need for regular expressions. Users familiar with jinja templating may find the TTP template syntax familiar. TTP is a Python library for semi-structured text parsing using templates. TTP uses a jinja-like syntax to limit the need for regular expressions. Users familiar with jinja templating may find the TTP template syntax familiar.
The following is an example TTP template stored as ``templates/nxos_show_interfaces.ttp``: The following is an example TTP template stored as ``templates/nxos_show_interface.ttp``:
.. code-block:: jinja .. code-block:: jinja