Tags: google/textfsm
Tags
Improved routine for terminal dimensions. Remove TerminalSize function * Improved routine for terminal dimensions. Works on windows too. * Improve clarity or variable names * Remove TerminalSize function .... no longer needed Co-authored-by: Daniel Harrison <harro@users.noreply.github.com>
Fix regex parsing for parentheses (#99) * tests: make sure escaped parentheses don't count when parsing regex * parser: fix testing for parentheses (this fixes #67 for real) Counting parentheses is not an easy solution because of escaping, character groups and other regex features. Better to delegate that to the re library by compiling the regex. Only thing left to do is check that it starts with '(' and ends with ')' but not '\)'.
Python v3 (#55) * Per 'http://python-future.org/automatic_conversion.html' py2 & py3 compatibility. * Make sure test fails if there is more than one list entry. * Fix deprecated warning for invalid escapes. * Support utf-8 in template files * Add utf-8 characters to a test example * Unicode example in template input. * Switch to utf-8 strings and remove unnecessary conversions. * Remove legacy lint checks * Migrate StringIO and remove unneeded import six. * Remove unnecessary explicit unicast declaration. * oll back changes to 'open'. * Cosmetic linting. * Package 'future' needed for importing builtins. [aliases] test=pytest * Add tests and testdata to distribution. * Use correct install_requires stanza for dependencies. * Include testdata files in binarty dist for tyesting.