mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-21 14:46:28 +00:00
On the initial commit of this feature, IPs were just matched with a very simple regex that prioritised simplicity/readability over accuracy. This commit adds a postprocessor for ip matches that makes use of Python's `ipaddress` in the standard library to validate all the IP matches. This way we don't need huge and complex regex patterns to match _and_ validate the IPs, and we can just use `ipaddress` to abstract us from implementing all the validation logic into the regex pattern. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bench_scrollback.py | ||
| choose.py | ||
| datatypes.py | ||
| diff.py | ||
| FiraCode-Medium.otf | ||
| fonts.py | ||
| glfw.py | ||
| gr.py | ||
| graphics.py | ||
| hints.py | ||
| keys.py | ||
| layout.py | ||
| LiberationMono-Regular.ttf | ||
| mouse.py | ||
| open_actions.py | ||
| parser.py | ||
| screen.py | ||
| tui.py | ||
| unicode_input.py | ||