Carl Lei
505a0e15cd
kitten/hints/marks support for IPv6 addresses ending in ::
...
IPv6 addresses can end in zeros, and for example ifconfig.me is at
2600:1901:0:b2bd::.
2025-11-27 09:34:12 +08:00
Kovid Goyal
c861259e3b
Rename go module from kitty -> github.com/kovidgoyal/kitty
...
Makes the code more easily re-useable in other projects
2025-05-16 08:43:39 +05:30
Kovid Goyal
8cc2cad4d9
Use list of legal chars in URL from the WHATWG standard
...
Notably this excludes some ASCII chars: <>{}[]`|
See https://url.spec.whatwg.org/#url-code-points
Fixes #7095
2024-02-05 13:27:22 +05:30
Kovid Goyal
c101a6acb0
Implement a dedicated function for word matching rather than relying on a regex and being at the mercy of the vagaries of regex implementations
2023-05-12 15:43:56 +05:30
Kovid Goyal
65f8bb7397
hints kitten: Switch to using a regex engine that supports lookaround
...
Note that we loose unicode char matching for --type=word because of
https://github.com/dlclark/regexp2/issues/65 and of course user regexps
cant use \p{N} escapes any more. Hopefully regexp2 will add support for
these soon-ish. IMO lookaround is more important than \p.
Fixes #6265
2023-05-12 12:24:59 +05:30
Kovid Goyal
1fc4e53bea
hints kitten: Fix a regression in 0.28.0 that broke using sub-groups in regexp captures
...
Fixes #6228
2023-04-30 21:16:24 +05:30
Kovid Goyal
ff55121094
Move the kittens Go code into the kittens folder
2023-03-27 13:06:02 +05:30