Use maxsplit=1 with line.split() to properly handle filenames
containing spaces or newlines. Previously split() without maxsplit
would incorrectly split './ok ok ok ok ok' into 6 parts instead of 2.
Fixes: https://github.com/kellyjonbrazil/jc/issues/694
* test: split out test fixtures for long ipv6 traceroute for consistency
* refactor(jc/parsers/traceroute): remove duplicate ParseError class
* refactor(jc/parsers/traceroute): pre-process data in _loads() for easy-to-reuse
* refactor(jc/parsers/traceroute): split hop serialization into separate function to reuse
* refactor(jc/parsers/traceroute): simplify numeric conversion and make it reusable for traceroute_s
* fix(jc/parsers/traceroute): stricter regex to match traceroute headers only
* feat(jc/parsers/traceroute_s): v1.0 implementation
* fix(jc/parsers/traceroute): revert "_" prefix in function and class names
* fixup! fix(jc/parsers/traceroute): revert "_" prefix in function and class names
* chore(jc/parsers/traceroute): update the author information
yay is a popular pacman wrapper that adds extra functionality to
standard pacman. It has the same output format as pacman.
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
* feat(patch): introduce net localgroup, net user, and route print parsers
* fix: fix net user parsing error
* fix: address PR findings
---------
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>