Custom icon with rule based url

I’m not an expert in icons and how to set them but your regular expressions don’t express what you intend:

  • XYZ* means: letter X, followed by letter Y, followed by an arbitrary number of Zs (including none). It matches hostnames starting with XY, XYZ, XYabc.
  • XZZ* is similar. It matches hostnames starting with XZ. Like XZZ, XZabc, etc.

You simply want XYZ and XZZ because the regexes already match from the start and don’t have to match the complete hostname. For a complete matching you would write XYZ.* (start with XYZ, followed by 0…n arbitrary characters).

1 Like