Files
glances/tests
Nguyen Thanh Dat 6f1b8db44c fix(filter): keep the whole regex when it contains a colon
`GlancesFilter.filter` split the input on every colon and kept only the second
field, so everything after the second colon was discarded:

  cmdline:C:/Program Files/.*   ->  key=cmdline  regex=C
  name:foo:bar                  ->  key=name     regex=foo

The truncation is silent. The leading fragment is usually still a valid regex —
`C` compiles — so the compile guard never fires, the filter matches nothing, and
the process list comes back empty with no error and only a debug log line.

On Windows that is every absolute path, since each one has a drive colon. It
also truncates URLs, IPv6 literals and any `foo:bar` process name.

`split(':', 1)` rather than the repo's `split_esc`: that helper escapes on
backslash and strips the escape characters from its result, which would mangle a
Windows path regex. The separator here needs no escaping — the key never
contains a colon.
2026-08-24 16:16:10 +07:00
..
2026-08-07 10:54:14 +02:00
2026-03-24 08:18:04 +00:00
2025-12-26 18:47:01 +01:00
2025-12-26 18:47:01 +01:00
2026-05-21 03:06:41 +00:00
2026-02-26 21:55:37 +01:00
2026-03-24 08:18:04 +00:00
2026-07-18 09:29:06 +02:00