Using "contains" with "as string as lowercase"

(imported topic written by SystemAdmin)

So, I’m attempting to fine tune a fixlet, but I can’t quite get it work correctly…

Here’s the original relevance:

not (((exists (values “LegalNoticeCaption” of keys “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System” of native registry as string)whose (it as string as lowercase=(“authorized use only!!!”)))))

I’m attempting to modify it to something like this:

not (exists (values “LegalNoticeCaption” of keys “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System” of native registry as string) whose (it contains as string as lowercase “authorized use only”))

But, when I attempt to modify the relevance to the desired state, it errors out - I get a “expression could not be parsed” message…

(imported comment written by Lee Wei)

The “contains” is located at the wrong spot.

not (exists (values “LegalNoticeCaption” of keys “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System” of native registry as string) whose (it as string as lowercase

contains

“authorized use only”))

Lee Wei