google / textfsm

Python module for parsing semi-structured text into python tables.
Apache License 2.0
1.11k stars 171 forks source link

no timeout error or functionality #59

Closed gachteme closed 5 years ago

gachteme commented 5 years ago

Proposal to add a detailed timeout error allowing the template developer to quickly identify the offending regular expression.

I have found that some poorly written templates may have a line or lines that are syntactically correct but often result in a timeout when searching for a match. When this happens it may be hard to diagnose which line in the template is causing an issue.

Is this an issue worth addressing?