Hi folks, We are trying to use a regex in a registry rule to restrict connections to certain Windows devices. All these devices are named PC-001, PC-002, ..., PC-099. So we created a hostchecker registry rule using the registry key "HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\NV Hostname" with the value set to "PC-0[0-9]{2}$". Unfortunately this didn't work even though it's the correct regex for what we are trying to achieve (PC- followed by a zero followed by two digits followed by end of string). The note just underneath the value field reads "Regex match is supported for Value field. Example: Fire* (matches with Fire, Firewall, Firefox), Fire[*?] (exactly matches with Fire* or Fire?), Firewall (matches only with Firewall)." So an asterisk matches multiple characters just as a wildcard in Windows. Unfortunately, this doesn't match https://kb.pulsesecure.net/articles/Pulse_Secure_Article/KB41018 where an asterisk is said to match the preceding character or expression zero or more times. Using "PC-0*" as value is working fine but not exactly a regex. So we are now a little bit confused about what Pulse calls regex and especially what syntax can be used for checking registry values. Is there anyone who has more details on this issue? Best regards, MPIDR
... View more